diff options
author | Pawel Laszczak <pawell@cadence.com> | 2021-06-23 09:02:47 +0200 |
---|---|---|
committer | Peter Chen <peter.chen@zeku.com> | 2021-07-29 14:13:02 +0800 |
commit | aa35772f61752d4c636d46be51a4f7ca6c029ee6 (patch) | |
tree | 1070baa3a24cd66edbf75552902c49db5208b627 /drivers/usb/class | |
parent | ff1176468d368232b684f75e82563369208bc371 (diff) |
usb: cdns3: Fixed incorrect gadget state
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>
Link: https://lore.kernel.org/r/20210623070247.46151-1-pawell@gli-login.cadence.com
Signed-off-by: Peter Chen <peter.chen@kernel.org>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions