u-boot/drivers/usb
Neil Armstrong 003659bda9 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: 7c839ea70c ("usb: host: dwc3: Add support for multiple PHYs")
Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2018-04-26 14:03:13 +02:00
..
common libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
dwc3 usb: dwc3-uniphier: replace <common.h> with <linux/bitops.h> 2017-10-15 22:32:24 +09:00
emul dm: usb: emul: Drop usb_emul_reset() 2017-10-01 16:32:51 +02:00
eth lan7xxx: Require phylib 2018-03-22 15:05:31 -05:00
gadget net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
host usb: host: dwc3: fix phys init 2018-04-26 14:03:13 +02:00
musb Convert CONFIG_USB_MUSB_HCD et al to Kconfig 2018-01-22 16:43:29 -05:00
musb-new Convert CONFIG_USB_MUSB_OMAP2PLUS et al to Kconfig 2018-01-22 16:43:29 -05:00
phy libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ulpi usb: ulpi: kconfig: Remove meaningless choice default 2018-02-05 20:58:12 -05:00
Kconfig usb: kbd: select SYS_STDIO_DEREGISTER 2018-02-21 20:28:15 +01:00