Skip to content
Snippets Groups Projects
Commit 003659bd authored by Neil Armstrong's avatar Neil Armstrong Committed by Marek Vasut
Browse files

usb: host: dwc3: fix phys init


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: 7c839ea7 ("usb: host: dwc3: Add support for multiple PHYs")
Reported-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
parent a61f9d1f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment