summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorEvgeny Novikov <novikov@ispras.ru>2021-07-08 11:30:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 10:04:41 +0200
commit61136a12cbed234374ec6f588af57c580b20b772 (patch)
tree5d752f5ef70730ba09ae8b7fc0dc214ef401418f /scripts/gdb/linux/device.py
parent8ae01239609b29ec2eff55967c8e0fe3650cfa09 (diff)
USB: EHCI: ehci-mv: improve error handling in mv_ehci_enable()
mv_ehci_enable() did not disable and unprepare clocks in case of failures of phy_init(). Besides, it did not take into account failures of ehci_clock_enable() (in effect, failures of clk_prepare_enable()). The patch fixes both issues and gets rid of redundant wrappers around clk_prepare_enable() and clk_disable_unprepare() to simplify this a bit. Found by Linux Driver Verification project (linuxtesting.org). Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Evgeny Novikov <novikov@ispras.ru> Link: https://lore.kernel.org/r/20210708083056.21543-1-novikov@ispras.ru Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions