usb: otg: tegra: change logic for enable clock
authorAndy Carman <acarman@nvidia.com>
Wed, 7 Mar 2012 05:25:18 +0000 (10:25 +0530)
committerSimone Willett <swillett@nvidia.com>
Thu, 26 Apr 2012 21:48:08 +0000 (14:48 -0700)
commitc6ef8e08914428e5c6d12fd69c1a9589e5839c14
tree223d7daca69e636f01f97e1a65239ae370aa9976
parent1917156866d35d710c376106972a821f1261bde0
usb: otg: tegra: change logic for enable clock

When there is PMU interrupt we need to enable controller
clock. For this currently, work is being schedule, removing
this as clock can be enabled directly without scheduling
any work.

bug 925958
bug 941899

Signed-off-by: Andy Carman <acarman@nvidia.com>
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/88777
(cherry picked from commit fc31c04b7124f30970e862dd1b21a97d18dca38e)

Change-Id: I8f6e7325771219488440226ddde97a32da228608
Reviewed-on: http://git-master/r/97882
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/usb/otg/tegra-otg.c