diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-11-26 13:44:33 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-26 09:28:12 -0800 |
commit | 5b1573005a91dc448e6919d6bec076bedc7e1919 (patch) | |
tree | 29a77bb96d1f03e026b67fd0db57e7f927b383db /drivers/usb/chipidea/otg_fsm.c | |
parent | cdd278f21eea55412dd0c5bc468bbdfb0639879b (diff) | |
download | linux-5b1573005a91dc448e6919d6bec076bedc7e1919.tar.gz linux-5b1573005a91dc448e6919d6bec076bedc7e1919.tar.bz2 linux-5b1573005a91dc448e6919d6bec076bedc7e1919.zip |
usb: chipidea: parameter 'mode' isn't needed for hw_device_reset
The hw_device_reset is dedicated to be used at device mode initializaiton,
so delete the parameter 'mode'. For host driver, the ehci driver will
handle all things.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/otg_fsm.c')
-rw-r--r-- | drivers/usb/chipidea/otg_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c index 368cc8e94fd6..7ef124db657a 100644 --- a/drivers/usb/chipidea/otg_fsm.c +++ b/drivers/usb/chipidea/otg_fsm.c @@ -543,7 +543,7 @@ static int ci_otg_start_host(struct otg_fsm *fsm, int on) ci_role_start(ci, CI_ROLE_HOST); } else { ci_role_stop(ci); - hw_device_reset(ci, USBMODE_CM_DC); + hw_device_reset(ci); ci_role_start(ci, CI_ROLE_GADGET); } mutex_lock(&fsm->lock); |