commit aa35772f61752d4c636d46be51a4f7ca6c029ee6 upstream.
For delayed status phase, the usb_gadget->state was set
to USB_STATE_ADDRESS and it has never been updated to
USB_STATE_CONFIGURED.
Patch updates the gadget state to correct USB_STATE_CONFIGURED.
As a result of this bug the controller was not able to enter to
Test Mode while using MSC function.
Cc: <stable@vger.kernel.org>
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| cdns3-imx.c | ||
| cdns3-pci-wrap.c | ||
| cdns3-ti.c | ||
| core.c | ||
| core.h | ||
| debug.h | ||
| drd.c | ||
| drd.h | ||
| ep0.c | ||
| gadget-export.h | ||
| gadget.c | ||
| gadget.h | ||
| host-export.h | ||
| host.c | ||
| trace.c | ||
| trace.h | ||