usb: imx-us-phy: implement notify_(dis)concect
The i.MX6 USB phy does not recognize disconnects of high speed
devices when the USBPHY_CTRL_ENHOSTDISCONDETECT is not set. The
phy does not work properly though when this bit is always set, so
implement the notify_(dis)concect() callbacks to set this bit
whenever a high speed device is connected and to clear it again
when the device is disconnected.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a44f222 commit e21ddc6ec059f59153dbc42d1281768d32bc6150
@Sascha Hauer Sascha Hauer authored on 29 Sep 2016
Showing 1 changed file
View
drivers/usb/imx/imx-usb-phy.c