Kaynağa Gözat

HID: rmi: do not stop the device at the end of probe

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>
Benjamin Tissoires 11 yıl önce
ebeveyn
işleme
b89f991af0
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      drivers/hid/hid-rmi.c

+ 0 - 1
drivers/hid/hid-rmi.c

@@ -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;
 }