usb: phy: Check initial state for twl6030
authorTony Lindgren <tony@atomide.com>
Tue, 31 May 2016 15:05:23 +0000 (10:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jun 2016 21:58:59 +0000 (14:58 -0700)
commitb6a619a883c38e3f01749afe13dd23395c94a058
treeb0254bf8d6cc4804eb5c9dee3ee112dc931b7899
parentaec373c1e5d87d791525a675fe726c11d64b84a8
usb: phy: Check initial state for twl6030

We need to check the state for the PHY with delayed_work
as otherwise MUSB will get confused and idles immediately.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-twl6030-usb.c