summaryrefslogtreecommitdiff
path: root/drivers/mfd/twl4030-irq.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-11-15 21:38:56 +0100
committerJean Delvare <khali@endymion.delvare>2010-11-15 21:38:56 +0100
commitcf6b9ea661ef4f20b4a4cba1a232a732339aae2c (patch)
treed12db9d301146d533120686d7da1bf84a3068c0a /drivers/mfd/twl4030-irq.c
parent2a2d27da00250c9f117e35653ed5a6a3212e5d77 (diff)
hwmon: (w83795) Read the intrusion state properly
We can't read the intrusion state from the real-time alarm registers as we do for all other alarm flags, because real-time alarm bits don't stick (by definition) and the intrusion state has to stick until explicitly cleared (otherwise it has little value.) So we have to use the interrupt status register instead, which is read from the same address but with a configuration bit flipped in another register. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/mfd/twl4030-irq.c')
0 files changed, 0 insertions, 0 deletions