Skip to content

Commit

Permalink
HID: rmi: do not stop the device at the end of probe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Benjamin Tissoires authored and Jiri Kosina committed Apr 9, 2014
1 parent 9fb6bf0 commit b89f991
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/hid/hid-rmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b89f991

Please sign in to comment.