[U-Boot] [PATCH] usb: host: dwc3: fix phys init

Masahiro Yamada yamada.masahiro at socionext.com
Wed Apr 25 10:00:34 UTC 2018


2018-04-25 18:39 GMT+09:00 Neil Armstrong <narmstrong at baylibre.com>:
> When no PHYs are declared in the dwc3 node, the phy init fails.
> This patch checks if the "phys" property is presend and reports
> the error returned by dev_count_phandle_with_args().
>
> This patchs also fixes the styles issues added in last commit.
>
> This patch should fix the DWC3 support on the UniPhier SoC family.
>
> Fixes: 7c839ea70c49 ("usb: host: dwc3: Add support for multiple PHYs")
> Reported-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
> ---
>  drivers/usb/host/xhci-dwc3.c | 23 +++++++++++++----------
>  1 file changed, 13 insertions(+), 10 deletions(-)


Tested-by: Masahiro Yamada <yamada.masahiro at socionext.com>





-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list