Michael Grzeschik <[email protected]> writes:

> From: Sascha Hauer <[email protected]>
>
> Even if a chipidea core is otg capable the board may not. This allows

"may not be"

> to explicitly set the core to host/peripheral mode. Without these
> flags the driver falls back to the old behaviour.
>
> Signed-off-by: Sascha Hauer <[email protected]>
> ---

[snip]

> +     if (!ci->platdata->dr_mode)
> +             ci->platdata->dr_mode = of_usb_get_dr_mode(dev->of_node);

same as previous one, let's keep it in the platform.

Regards,
--
Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to