Skip to content
Commit 868d58f6 authored by Jan Kiszka's avatar Jan Kiszka Committed by Marek Vasut
Browse files

usb: dwc3: Fix non-usb3 configurations



Missing nodes may also be signaled via -ENODATA. We need to check for
that to prevent failing in non-usb3 setups.

Furthermore, dev.phy must be NULL'ed in case usb3-phy was not found.

Fixes: 142d50fb ("usb: dwc3: Add support for usb3-phy PHY configuration")
Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
parent 6a6468f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment