]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:10 +0000 (10:28 -0700)
commit57a0cd815351438f7ed67a6923b33eb6cdde4986
tree245247b5279a2144828ee5fe56fa1869125a172f
parent2bcd64e5aaa27654473ba5fbda7e6e057aa75cc8
drivers/rtc/rtc-hym8563.c: set uie_unsupported

commit 282cba6b00a95f0277ed71551e3f6b0477e8836b upstream.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/rtc/rtc-hym8563.c