]> rtime.felk.cvut.cz Git - linux-imx.git/commit
HID: picoLCD: drop version check during probe
authorBruno Prémont <bonbons@linux-vserver.org>
Sun, 19 Aug 2012 16:56:31 +0000 (18:56 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 19 Sep 2012 11:43:51 +0000 (13:43 +0200)
commitbb5c32d99899b0c5c46c4b0d3165de66a6981f8a
treedf8bd0ffb2661adda6640de154c2f3c5b3909d62
parente9a7c79b9427b9c1ce17a007a80caf3deb390bcd
HID: picoLCD: drop version check during probe

Commit 4ea5454203d991ec85264f64f89ca8855fce69b0
[HID: Fix race condition between driver core and ll-driver] introduced
new locking around probe/remove functions that prevents any report/reply
from hardware to reach driver until it returned from probe.

As such, the ask-reply way to checking picoLCD firmware version during
probe is bound to timeout and let probe fail.

Drop the check to let driver successfully probe again (until locking issues
are resolved allowing to reinstate the check).

Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-picolcd_core.c