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

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

Calling explicitly the ohci_suspend() routine in ohci_hcd_at91_drv_suspend()
will ensure proper handling of suspend scenario. This task is sugested
by Alan Stern.

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-at91.c