Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
Loading
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