usb: otg: tegra: Enable ID_WAKEUP in otg suspend
authorRakesh Bodla <rbodla@nvidia.com>
Mon, 4 Jun 2012 11:45:35 +0000 (16:45 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 7 Jun 2012 05:23:26 +0000 (10:23 +0530)
commit115ead42f2c35b679a64ac51e0c8fb3286cef61d
tree66597fc95c1d349333716a7e19a74e9310b06c2f
parenta288e2c3f8ef8f7765bc24e8974ac7b3dcb563ee
usb: otg: tegra: Enable ID_WAKEUP in otg suspend

Disabling the ID_WAKEUP in the suspend causing the
otg state to change to host, so disabling it in otg
suspend. Also, renaming the readl calls to otg_readl
call.

Bug 993390

Change-Id: I2789ea31fefe4425eb63b6be3e70d794bddcfd83
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/106177
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/usb/otg/tegra-otg.c