HID: rmi: do not stop the device at the end of probe
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 9 Apr 2014 15:01:34 +0000 (11:01 -0400)
committerJiri Kosina <jkosina@suse.cz>
Wed, 9 Apr 2014 15:13:34 +0000 (17:13 +0200)
Well, this is embarrassing, if the device is stopped at the end of probe,
we get into big trouble.

This was a leftover of an attempt to be smart when sending the patch,
I deeply apologies.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-rmi.c

index 699d631c6920950931100cbef8fee1fc9e1b7335..7da9509894de683b01178703737d9b884a3e0ad5 100644 (file)
@@ -848,7 +848,6 @@ static int rmi_probe(struct hid_device *hdev, const struct hid_device_id *id)
                return -EIO;
        }
 
-       hid_hw_stop(hdev);
        return 0;
 }