summaryrefslogtreecommitdiff
path: root/kernel/dma.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-11-15 20:38:56 (GMT)
committerJean Delvare <khali@endymion.delvare>2010-11-15 20:38:56 (GMT)
commitcf6b9ea661ef4f20b4a4cba1a232a732339aae2c (patch)
treed12db9d301146d533120686d7da1bf84a3068c0a /kernel/dma.c
parent2a2d27da00250c9f117e35653ed5a6a3212e5d77 (diff)
downloadlinux-fsl-qoriq-cf6b9ea661ef4f20b4a4cba1a232a732339aae2c.tar.xz
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 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions