USB: otg: delay device disconnect
authorKrishna Yarlagadda <kyarlagadda@nvidia.com>
Wed, 8 Aug 2012 11:31:10 +0000 (16:31 +0530)
committerSimone Willett <swillett@nvidia.com>
Wed, 15 Aug 2012 01:22:51 +0000 (18:22 -0700)
commitc454e30bf4575ad4a8df15b40f7121d6aa46787b
treed2b9ff15afec391928781184bc0e2b825ceccab4
parent07e99a1ae297fea4c019115a73313220f8c68e21
USB: otg: delay device disconnect

Device disconnect during resume might fail if notification
clients for this device removal are not ready.
Disconnecting device after the resume is complete.

Bug 1024496

Change-Id: Ia806e177d2dd2b1b43d3fea7a4af45f0d4a93cd4
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/122079
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
(cherry picked from commit df73b460996b2f6e2c0b0d93b3679d6dca9d4615)
Reviewed-on: http://git-master/r/123488
Reviewed-by: Automatic_Commit_Validation_User
drivers/usb/otg/tegra-otg.c