From: Rafi Rubin Date: Thu, 10 Mar 2011 04:33:52 +0000 (-0500) Subject: HID: hid-ntrig: init settle and mode check X-Git-Tag: v2.6.39-rc1~429^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b2a64c96ad53c4299f7e6ddf8c2f99cb48940a9;p=pandora-kernel.git 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 Tested-by: Peter Hutterer Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed