summaryrefslogtreecommitdiff
path: root/drivers/scsi/aha1542.c
diff options
context:
space:
mode:
authorWesley Cheng <wcheng@codeaurora.org>2020-12-29 15:00:37 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-04 16:53:04 +0100
commita1383b3537a7bea1c213baa7878ccc4ecf4413b5 (patch)
tree11f4246372a00cb4fa0d87ff87def5f3986ce8ac /drivers/scsi/aha1542.c
parent718bf42b119de652ebcc93655a1f33a9c0d04b3c (diff)
usb: dwc3: gadget: Restart DWC3 gadget when enabling pullup
usb_gadget_deactivate/usb_gadget_activate does not execute the UDC start operation, which may leave EP0 disabled and event IRQs disabled when re-activating the function. Move the enabling/disabling of USB EP0 and device event IRQs to be performed in the pullup routine. Fixes: ae7e86108b12 ("usb: dwc3: Stop active transfers before halting the controller") Tested-by: Michael Tretter <m.tretter@pengutronix.de> Cc: stable <stable@vger.kernel.org> Reported-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Wesley Cheng <wcheng@codeaurora.org> Link: https://lore.kernel.org/r/1609282837-21666-1-git-send-email-wcheng@codeaurora.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/aha1542.c')
0 files changed, 0 insertions, 0 deletions