usb: phy: ab8500-usb: restart phy during probe
authorSakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Wed, 15 May 2013 12:03:27 +0000 (14:03 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 28 May 2013 17:01:01 +0000 (20:01 +0300)
commitfb21f37a5249374ed63f763455a0b07b80c1e50c
treea4a4339cd9cba88cd7521ac3a3a979fd1007e744
parentd0ed0645a5cfb0cccca6baa84b459eb2078e7fb1
usb: phy: ab8500-usb: restart phy during probe

Add an ab8500_usb_restart_phy() function called during probe to ensure
that the AB8500 USB phy is initialized properly even when a cable is
connected at probe time.

Without this fix subsequent host reconnections are not detected
properly.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-ab8500-usb.c