Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e0aa635 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Felipe Balbi
Browse files

usb: otg: mxs-phy: add missing type to usb_phy



The mxs-phy is missing the phy.type property, why the usb_get_phy helper
function won't be able to find it. This patch adds this missing property.

Signed-off-by: default avatarMichael Grzeschik <mgr@pengutronix.de>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent b990da15
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -155,6 +155,7 @@ static int mxs_phy_probe(struct platform_device *pdev)
	mxs_phy->phy.set_suspend	= mxs_phy_suspend;
	mxs_phy->phy.notify_connect	= mxs_phy_on_connect;
	mxs_phy->phy.notify_disconnect	= mxs_phy_on_disconnect;
	mxs_phy->phy.type		= USB_PHY_TYPE_USB2;

	ATOMIC_INIT_NOTIFIER_HEAD(&mxs_phy->phy.notifier);