Skip to content
Commit 2080d023 authored by Patrice Chotard's avatar Patrice Chotard Committed by Marek Vasut
Browse files

usb: host: ohci-generic: initialize PHY only when found



Call generic_phy_init() only when a PHY was found.
This will avoid a crash if no "phys" property is found in DT.

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Reported-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 4b3928a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment