Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260394
b: refs/heads/master
c: 431e2bc
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Linus Torvalds committed Jul 26, 2011
1 parent 6337325 commit 65c775d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c4f57d12df7696d65b0247bfd57fd082a7719e6
refs/heads/master: 431e2bcc371016824f419baa745f82388258f3ee
2 changes: 1 addition & 1 deletion trunk/drivers/rtc/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ int rtc_irq_set_freq(struct rtc_device *rtc, struct rtc_task *task, int freq)
int err = 0;
unsigned long flags;

if (freq <= 0)
if (freq <= 0 || freq > 5000)
return -EINVAL;

spin_lock_irqsave(&rtc->irq_task_lock, flags);
Expand Down

0 comments on commit 65c775d

Please sign in to comment.