diff options
author | Martin Blumenstingl <[email protected]> | 2020-05-26 22:29:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-05-29 12:21:26 +0200 |
commit | be8c1001a7e681e8813882a42ed51c8dbffd8800 (patch) | |
tree | 8ac6de3d0e3bd8f072af177d2304aeb0e5369f50 /drivers/usb/cdns3/cdns3-debug.h | |
parent | de21ab70ee32a7da288d1e89a0c107e810cc9aef (diff) |
usb: dwc3: meson-g12a: fix error path when fetching the reset line fails
Disable and unprepare the clocks when devm_reset_control_get_shared()
fails. This fixes the error path as this must disable the clocks which
were previously enabled.
Fixes: 1e355f21d3fb96 ("usb: dwc3: Add Amlogic A1 DWC3 glue")
Cc: Yue Wang <[email protected]>
Cc: Hanjie Lin <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Signed-off-by: Martin Blumenstingl <[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-debug.h')
0 files changed, 0 insertions, 0 deletions