aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/typec
diff options
context:
space:
mode:
authorKrishna Kurapati <quic_kriskura@quicinc.com>2023-09-27 13:00:27 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-02 13:58:11 +0200
commit0ea39e030a80be2b1b5f98d6b330a8b97dcf3342 (patch)
treef75cbfa57624471f0edc4085df2fe74631ad6e20 /drivers/usb/typec
parentusb: dwc2: fix possible NULL pointer dereference caused by driver concurrency (diff)
downloadlinux-rng-0ea39e030a80be2b1b5f98d6b330a8b97dcf3342.tar.xz
linux-rng-0ea39e030a80be2b1b5f98d6b330a8b97dcf3342.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 in turn sends the error to configfs. The userspace can then retry enumeration if it chooses to. Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> Reviewed-by: Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/20230927073027.27952-1-quic_kriskura@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec')
0 files changed, 0 insertions, 0 deletions