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)
commit821f664644c2da9e1a51e36751abedf49d4332e0
tree9fd3b69a5c1fe65f4254f5d958c29e18434b83f1
parente726111f953f8f5b922b953caf06ba6790c5fbaa
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