On 10/22/26 9:08 AM, Mehmet Fide wrote:
From: Mehmet Fide <[email protected]>

The driver parses the dr_mode property itself, through the flat tree,
into an enum of its own that mirrors enum usb_dr_mode. Use
usb_get_dr_mode() and USB_DR_MODE_* instead, as ehci-mx6 does. A
missing property still means host, for legacy device trees.
usb_get_dr_mode() does not tell it from a value it does not know, so
such a value now means host as well instead of failing the probe.

Signed-off-by: Mehmet Fide <[email protected]>

Reviewed-by: Marek Vasut <[email protected]>

Reply via email to