tegra: usb: otg: Clear the otg interrupt in suspend
authorAlok Chauhan <alokc@nvidia.com>
Mon, 6 Feb 2012 08:35:27 +0000 (13:35 +0530)
committerLokesh Pathak <lpathak@nvidia.com>
Fri, 10 Feb 2012 16:37:30 +0000 (08:37 -0800)
commite7a45eadddbce511077b0fc033406e054369fbe7
tree1826d15a175cb14cc219bf5fd6d43ca6682d00f7
parent041013a40a308c22310a248b1ab6d16c54ed0cce
tegra: usb: otg: Clear the otg interrupt in suspend

Resuming from LP1 is not working if usb device is connected
or disconnected while system in LP1 state.
So clear the otg interrupt in suspend and re-enable it while
resuming.

Bug 906171
Bug 935273

Signed-off-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-on: http://git-master/r/79449
(cherry picked from commit 54935893382a1b49a1a23ec39c6e479d163b910b)

Change-Id: Ia62f6fcd475905e5d3bcc93eae8a1e04c356111e
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82728
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/usb/otg/tegra-otg.c