diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-11-23 22:57:19 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-09 14:33:45 +0100 |
commit | d6ff32478d7e95d6ca199b5c852710d6964d5811 (patch) | |
tree | fe1fdb0163b89f08798566dc3d3904e5068b933e /drivers/usb/typec/mux | |
parent | c1373f10479b624fb6dba0805d673e860f1b421d (diff) | |
download | linux-d6ff32478d7e95d6ca199b5c852710d6964d5811.tar.bz2 |
usb: ehci-omap: Fix PM disable depth umbalance in ehci_hcd_omap_probe
The pm_runtime_enable will decrement the power disable depth. Imbalance
depth will resulted in enabling runtime PM of device fails later. Thus
a pairing decrement must be needed on the error handling path to keep it
balanced.
Fixes: 6c984b066d84b ("ARM: OMAP: USBHOST: Replace usbhs core driver APIs by Runtime pm APIs")
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201123145719.1455849-1-zhangqilong3@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec/mux')
0 files changed, 0 insertions, 0 deletions