ARM: tegra: usb_phy: Correct utmi power off sequence
authorJay Cheng <jacheng@nvidia.com>
Tue, 9 Nov 2010 05:22:28 +0000 (00:22 -0500)
committerBenoit Goby <benoit@android.com>
Wed, 10 Nov 2010 01:02:58 +0000 (17:02 -0800)
commit15f59ba827d3583e99d266d51cdda6a6cd092aa0
tree7838c5a859dd6100df982a14a164af939ed380c6
parent2d73a7392ab1f36cd6bc728f6bf8e436761e87b8
ARM: tegra: usb_phy: Correct utmi power off sequence

USB_WAKE_ON_CNNT_EN_DEV is only valid when USB controller is in device mode.

Also only one of USB_WAKE_ON_CNNT_EN_DEV and USB_WAKE_ON_DISCON_EN_DEV bits
can be set at any one time.

Change-Id: I76d7fcf73e6ab8fa1610ec4264060c44b221775c
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
arch/arm/mach-tegra/usb_phy.c