USB: OHCI: Properly handle ohci-spear suspend
authorMajunath Goudar <csmanjuvijay@gmail.com>
Wed, 13 Nov 2013 12:10:21 +0000 (17:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 01:53:18 +0000 (17:53 -0800)
commitd2e3d2b348bce1bb96cd42db51789f368c3eb974
tree5f5ab6840ee8d346a036c661a819bbd5b2256bd0
parent14982e31da83a818d03748a89957e47c139d8f07
USB: OHCI: Properly handle ohci-spear suspend

Suspend scenario in case of ohci-spear glue was not
properly handled as it was not suspending generic part
of ohci controller.  Alan Stern suggested, properly handle
ohci-spear suspend scenario.

Calling explicitly the ohci_suspend() routine in
spear_ohci_hcd_drv_suspend() will ensure proper
handling of suspend scenario.

Signed-off-by: Manjunath Goudar <csmanjuvijay@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-spear.c