]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/rtc/rtc-hym8563.c: set uie_unsupported
authorHeiko Stuebner <heiko@sntech.de>
Fri, 9 May 2014 22:36:57 +0000 (15:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 11 May 2014 08:55:48 +0000 (17:55 +0900)
commitb767d67d3bd9db18ec3900b6db6f49bc78340d93
tree4d4ad3df1afb3348ecf07e297d8665a0361a39a9
parent31cc96235cfde9fd5b84f329ad10714929e78cd7
drivers/rtc/rtc-hym8563.c: set uie_unsupported

The alarm of the hym8563 only supports a minute accuracy, while the uie
wants an alarm one second in the future.  Therefore things like the
select() syscall will fail with a timeout, because the next alarm will
happen in a worst case of 60 seconds.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-hym8563.c