diff options
author | John Stultz <john.stultz@linaro.org> | 2012-03-07 02:16:09 +0100 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2012-03-16 02:23:10 +0100 |
commit | 4a649903f91232d02284d53724b0a45728111767 (patch) | |
tree | 065a4aa03fc377d34f6b332fdb8b608c9bf0bc26 /arch/microblaze | |
parent | ia64: vsyscall: Use seqcount instead of seqlock (diff) | |
download | linux-4a649903f91232d02284d53724b0a45728111767.tar.xz linux-4a649903f91232d02284d53724b0a45728111767.zip |
rtc: Provide flag for rtc devices that don't support UIE
Richard Weinberger noticed that on some RTC hardware that
doesn't support UIE mode, due to coarse granular alarms
(like 1minute resolution), the current virtualized RTC
support doesn't properly error out when UIE is enabled.
Instead the current code queues an alarm for the next second,
but it won't fire until up to a miniute later.
This patch provides a generic way to flag this sort of hardware
and fixes the issue on the mpc5121 where Richard noticed the
problem.
CC: stable@vger.kernel.org
Reported-by: Richard Weinberger <richard@nod.at>
Tested-by: Richard Weinberger <richard@nod.at>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions