linux-stable/drivers/usb/gadget/udc/bdc
Justin Chen fb8f60dd1b usb: bdc: change state when port disconnected
When port is connected and then disconnected, the state stays as
configured. Which is incorrect as the port is no longer configured,
but in a not attached state.

Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Fixes: efed421a94 ("usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC")
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/1664997235-18198-1-git-send-email-justinpopo6@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-22 12:51:53 +02:00
..
bdc.h usb: gadget: bdc: use the BIT macro to define bit filed 2021-01-13 11:24:02 +01:00
bdc_cmd.c usb: gadget: bdc: fix typo in comment 2022-06-10 11:49:12 +02:00
bdc_cmd.h usb: gadget: bdc: add identifier name for function declaraion 2021-01-13 11:24:02 +01:00
bdc_core.c usb: bdc: fix error handling code in bdc_resume 2021-12-03 13:50:43 +01:00
bdc_dbg.c usb: gadget: bdc: fix warning of embedded function name 2021-01-13 11:24:02 +01:00
bdc_dbg.h usb: gadget: bdc: add identifier name for function declaraion 2021-01-13 11:24:02 +01:00
bdc_ep.c usb: gadget: bdc: remove usage of list iterator past the loop body 2022-03-15 18:19:43 +01:00
bdc_ep.h usb: gadget: bdc: add identifier name for function declaraion 2021-01-13 11:24:02 +01:00
bdc_udc.c usb: bdc: change state when port disconnected 2022-10-22 12:51:53 +02:00
Kconfig usb: bdc: Remove the BDC PCI driver 2021-01-18 18:36:31 +01:00
Makefile usb: bdc: Remove the BDC PCI driver 2021-01-18 18:36:31 +01:00