]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: lis3: Update coordinates at polled device open
authorSamu Onkalo <samu.p.onkalo@nokia.com>
Fri, 22 Oct 2010 11:57:26 +0000 (07:57 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 25 Oct 2010 21:11:38 +0000 (14:11 -0700)
commit423ba7df8aeb995571ad836d2773305de9b95ebd
tree9fd3b69a5c1fe65f4254f5d958c29e18434b83f1
parentd61f0f9ec7d1773f8f429a88dcb4ac2fa61d0489
hwmon: lis3: Update coordinates at polled device open

Call input device poll function at device open to refresh coordinates
immediately. This is needed for the case where poll interval is set to
zero and coordinate updates happens purely under interrupt control.

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