usb: chipidea: add controller reset API
authorPeter Chen <peter.chen@freescale.com>
Wed, 26 Nov 2014 05:44:32 +0000 (13:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 17:28:12 +0000 (09:28 -0800)
commitcdd278f21eea55412dd0c5bc468bbdfb0639879b
treef0a69b7d940161898c6ca7ee71cf02de946f9d8a
parent947c88592f17bd299ff677049c3cda36cc6f93dd
usb: chipidea: add controller reset API

Add controller reset API, currently it is used for device mode only.
It may be used for host/otg driver in future.

Ususally, we need this API for dual-role switch and back from hibernation
suspend to let the controller at default state.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c