diff options
| author | Dongliang Mu <[email protected]> | 2021-11-30 14:33:53 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-12-03 12:50:43 +0000 |
| commit | e1c72d907f4c3f4f859f0c5890d5326d804625dc (patch) | |
| tree | cf8b05b9aee528ace8241b82efbdfd3cffd08ac9 /drivers/usb/cdns3/cdns3-gadget.c | |
| parent | usb: uhci: add aspeed ast2600 uhci support (diff) | |
| download | kernel-e1c72d907f4c3f4f859f0c5890d5326d804625dc.tar.gz kernel-e1c72d907f4c3f4f859f0c5890d5326d804625dc.zip | |
usb: bdc: fix error handling code in bdc_resume
If bdc_reinit in bdc_resume fails, it forgets to deallocate the
bdc->clk.
Fix this by adding clk_disable_unprepare(bdc->clk).
Signed-off-by: Dongliang Mu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions
