]> git.openfabrics.org - ~emulex/infiniband.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)
commit029756d0b8856f52d83dee81c01dd3af786cadff
tree573ac19fe3461f1ffece64fd42af8573c011fa5d
parentf10a5407b58603fb3b084d7fbdbd50f47d010c82
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