HID: hid-ntrig: init settle and mode check
authorRafi Rubin <rafi@seas.upenn.edu>
Thu, 10 Mar 2011 04:33:52 +0000 (23:33 -0500)
committerJiri Kosina <jkosina@suse.cz>
Mon, 14 Mar 2011 12:10:13 +0000 (13:10 +0100)
commit7b2a64c96ad53c4299f7e6ddf8c2f99cb48940a9
tree36ba82b3f7d813395ebe854bd5510645606df925
parentff4046294ba215abeaf45c10ab6cbfae41978b14
HID: hid-ntrig: init settle and mode check

Adding a wait before the wakeup signal.

As a precautionary measure sanity check the current sensor mode.  If
needed reset it to "dual".

When the device is responding poorly and needs the wakeup call, it was
missing it.  Giving it a chance to settle first improves the chances
that signal gets through.

Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
Tested-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ntrig.c
This page took 0.039937 seconds and 5 git commands to generate.