diff options
author | Cristian Birsan <cristian.birsan@microchip.com> | 2020-04-10 15:14:52 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-04-17 11:55:29 +0300 |
commit | 12b94da411f9c6d950beb067d913024fd5617a61 (patch) | |
tree | cfca70a2335b15ce24b49d977d20364cd7e89a21 /drivers/crypto/axis | |
parent | 49e0590e3a60e75b493e5df879e216e5073c7663 (diff) |
usb: gadget: udc: atmel: Fix vbus disconnect handling
A DMA transfer can be in progress while vbus is lost due to a cable
disconnect. For endpoints that use DMA, this condition can lead to
peripheral hang. The patch ensures that endpoints are disabled before
the clocks are stopped to prevent this issue.
Fixes: a64ef71ddc13 ("usb: gadget: atmel_usba_udc: condition clocks to vbus state")
Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/crypto/axis')
0 files changed, 0 insertions, 0 deletions