mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
Merge "HID: qvr: wake up after acknowledgment from viewer"
This commit is contained in:
commit
a9ad07647e
1 changed files with 3 additions and 1 deletions
|
|
@ -621,8 +621,10 @@ static int qvr_external_sensor_raw_event(struct hid_device *hid,
|
|||
else if (data[0] == 2 && data[1] == 1) { /*calibration data*/
|
||||
sensor->calib_data_pkt = data;
|
||||
sensor->calib_data_recv = 1;
|
||||
} else if (data[0] == 2 && data[1] == 4) /*calibration ack*/
|
||||
} else if (data[0] == 2 && data[1] == 4) { /*calibration ack*/
|
||||
sensor->ext_ack = 1;
|
||||
wake_up(&wq);
|
||||
}
|
||||
|
||||
}
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue