diff options
author | Stephen Boyd <stephen.boyd@linaro.org> | 2016-12-28 23:56:54 +0100 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2017-01-20 04:25:10 +0100 |
commit | 732a4af85e87091dee130669de8ce50727fd28b4 (patch) | |
tree | c19e3187b75820589b2bb9eead740832f977c594 /drivers/usb/chipidea/otg.c | |
parent | usb: chipidea: Notify events when switching host mode (diff) | |
download | linux-732a4af85e87091dee130669de8ce50727fd28b4.tar.xz linux-732a4af85e87091dee130669de8ce50727fd28b4.zip |
usb: chipidea: Remove locking in ci_udc_start()
We don't call hw_device_reset() with the ci->lock held, so it
doesn't seem like this lock here is protecting anything. Let's
just remove it. This allows us to call sleeping functions like
phy_init() from within the CI_HDRC_CONTROLLER_RESET_EVENT hook.
Acked-by: Peter Chen <peter.chen@nxp.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/chipidea/otg.c')
0 files changed, 0 insertions, 0 deletions