[PATCH v2 0/2] Allow DWC3 runtime suspend if UDC is unbinded

2020-12-29 Thread Wesley Cheng
Changes in v2: - Modified logic for executing the runtime PM resume. Using a sychronous get call to avoid race conditions. During the following scenario, the DWC3 runtime suspend routine is blocked as the connected flag is still true: 1. Enumerate device w/ host. 2. Gadget is unbinded

[PATCH v2 0/2] Allow DWC3 runtime suspend if UDC is unbinded

2020-11-05 Thread Wesley Cheng
Changes in v2: - Modified logic for executing the runtime PM resume. Using a sychronous get call to avoid race conditions. During the following scenario, the DWC3 runtime suspend routine is blocked as the connected flag is still true: 1. Enumerate device w/ host. 2. Gadget is unbinded