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:51 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-13 19:00:18 +0900
commit813f44d57e19ccaa7330e829bd913515be42719d (patch)
tree137d6b556e282810387405935ff637ee88f8a0e7 /drivers/usb/cdns3/cdns3-imx.c
parentada050c69108bc34be13ecc11f7fad0f20ebadc4 (diff)
downloadlinux-813f44d57e19ccaa7330e829bd913515be42719d.tar.gz
linux-813f44d57e19ccaa7330e829bd913515be42719d.tar.bz2
linux-813f44d57e19ccaa7330e829bd913515be42719d.zip
usb: dwc3: gadget: Bail out in pullup if soft reset timeout happens
If the core soft reset timeout happens, avoid setting up event buffers and starting gadget as the writes to these registers may not reflect when in reset and setting the run stop bit can lead the controller to access wrong event buffer address resulting in a crash. Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://lore.kernel.org/r/20230510075252.31023-2-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