]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: lis3: Enhance lis3 selftest with IRQ line test
authorSamu Onkalo <samu.p.onkalo@nokia.com>
Fri, 22 Oct 2010 11:57:32 +0000 (07:57 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 25 Oct 2010 21:11:39 +0000 (14:11 -0700)
commita454a1a665ed40aabbbcaedd638180e3826dd807
tree573ac19fe3461f1ffece64fd42af8573c011fa5d
parentc7ed800b9b5205d1cee564859c1609d90565c491
hwmon: lis3: Enhance lis3 selftest with IRQ line test

Configure chip to data ready mode in selftest and count received
interrupts to see that interrupt line(s) are working.

Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Acked-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/lis3lv02d.c
drivers/hwmon/lis3lv02d.h