diff options
| author | Ajay Agarwal <ajaya@codeaurora.org> | 2017-04-05 22:54:56 +0530 |
|---|---|---|
| committer | Ajay Agarwal <ajaya@codeaurora.org> | 2017-04-12 09:38:19 +0530 |
| commit | ade2576e76886b78ccdd398657c055cf38d1f202 (patch) | |
| tree | aa878409977e39bf16518fc1aa86f96759dd3e65 /include/linux/fpga/fpga-mgr.h | |
| parent | a3851309dbf7e919b27e2ec927ba3f6350347dff (diff) | |
USB: gadget: ffs: Fix USBCV compliance failure due to adbd
Userspace f_fs client e.g. ADB daemon can re-open ep0 file node
on adb_read/write error (or on bus reset). This results in device
disabling and enabling pull-up on bus reset. USBCV CH9 tests which
perform bus resets also fail due to this.
Fix this by not failing adb_read on bus reset so that adbd client
woudln't attempt ep0-file close. This behavior is not changed for
composition switch or cable disconnect by checking if adb_read
was attempting first transfer after online state or it was in middle
of a session when disconnect happened.
Change-Id: I2378f22995b7ddffb17d618df059d8aedb594d97
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions
