mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
Merge "HID: qvr: Remove device pointer on disconnect"
This commit is contained in:
commit
32f19d33cd
1 changed files with 3 additions and 0 deletions
|
|
@ -632,6 +632,9 @@ static int qvr_external_sensor_raw_event(struct hid_device *hid,
|
|||
|
||||
static void qvr_external_sensor_device_remove(struct hid_device *hdev)
|
||||
{
|
||||
struct qvr_external_sensor *sensor = &qvr_external_sensor;
|
||||
|
||||
sensor->device = NULL;
|
||||
hid_hw_stop(hdev);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue