diff options
| author | Yoshihiro Shimoda <[email protected]> | 2020-09-09 09:01:32 +0900 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-10-02 09:57:41 +0300 |
| commit | d98ef43bfb65b5201e1afe36aaf8c4f9d71b4307 (patch) | |
| tree | e9500d8265192bcb97d40a6327cb0283f3e4a695 /tools/perf/scripts/python | |
| parent | 897b81384302bf2e1eaff008163e492dda4ceaca (diff) | |
usb: gadget: u_serial: clear suspended flag when disconnecting
The commit aba3a8d01d62 ("usb: gadget: u_serial: add suspend resume
callbacks") set/cleared the suspended flag in USB bus suspend/resume
only. But, when a USB cable is disconnected in the suspend, since some
controllers will not detect USB bus resume, the suspended flag is not
cleared. After that, user cannot send any data. To fix the issue,
clears the suspended flag in the gserial_disconnect().
Fixes: aba3a8d01d62 ("usb: gadget: u_serial: add suspend resume callbacks")
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Tested-by: Linh Phung <[email protected]>
Tested-by: Tam Nguyen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions