On Wed, Jun 23, 2021 at 08:54:26AM +0200, Pawel Laszczak wrote:
From: Pawel Laszczak pawell@cadence.com
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: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver") Signed-off-by: Pawel Laszczak pawell@cadence.com
drivers/usb/cdns3/cdns3-ep0.c | 1 + 1 file changed, 1 insertion(+)
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://urldefense.com/v3/__https://www.kernel.org/doc/html/latest/process/s... rules.html__;!!EHscmS1ygiU1lA!XxaV_glFP_ZgaIhiOKJKx4mZ-8nVVerjwA9heaOgDrhVCXF7fwUSsF9nMg8B8Q$ for how to do this properly.
</formletter>
Yes, I know, sorry about that. Patch has been sent again in correct way.
Regards, Pawel