summaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorKrishna Kurapati <quic_kriskura@quicinc.com>2023-05-10 13:22:52 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-13 19:00:18 +0900
commitd34f9bafa78da2a561c67d9daf55fc4d1d80edf0 (patch)
tree7f9f5bff6e36782b170772647de81f9fcc11e523 /drivers/usb/cdns3/cdns3-imx.c
parent813f44d57e19ccaa7330e829bd913515be42719d (diff)
downloadlinux-d34f9bafa78da2a561c67d9daf55fc4d1d80edf0.tar.gz
linux-d34f9bafa78da2a561c67d9daf55fc4d1d80edf0.tar.bz2
linux-d34f9bafa78da2a561c67d9daf55fc4d1d80edf0.zip
usb: gadget: udc: Handle gadget_connect failure during bind operation
In the event, gadget_connect call (which invokes pullup) fails, propagate the error to udc bind operation which inturn sends the error to configfs. The userspace can then retry enumeartion if it chooses to. Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/20230510075252.31023-3-quic_kriskura@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions