diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2021-06-18 17:14:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 10:46:54 +0300 |
commit | 5b01248156bd75303e66985c351dee648c149979 (patch) | |
tree | 0950986f5714bde9edecb7fc83e4f7a57ca4c048 /drivers/usb/host/max3421-hcd.c | |
parent | a6b125621c081bef519fd78cf336de351390da3f (diff) | |
download | linux-5b01248156bd75303e66985c351dee648c149979.tar.xz |
usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
Add missing pm_runtime_disable() when probe error out. It could
avoid pm_runtime implementation complains when removing and probing
again the driver.
Fixes: 49db427232fe ("usb: gadget: Add UDC driver for tegra XUSB device mode controller")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20210618141441.107817-1-zhangqilong3@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/max3421-hcd.c')
0 files changed, 0 insertions, 0 deletions