diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2012-03-23 23:02:32 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-24 00:58:39 +0100 |
commit | ce9f650636d310e4c8febc821b0038e9918a12db (patch) | |
tree | 3165a949b121068c6c62b42bb9c77f20cb53f5e4 /drivers/hid | |
parent | MIPS: add RTC support for loongson1B (diff) | |
download | linux-ce9f650636d310e4c8febc821b0038e9918a12db.tar.xz linux-ce9f650636d310e4c8febc821b0038e9918a12db.zip |
drivers/rtc/rtc-twl.c: optimize IRQ bit access
As the TWL RTC driver has a cached copy of enabled RTC interrupt bits in
variable rtc_irq_bits, that can be checked before really setting or
masking any of the interrupt bits.
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
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>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions