diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2017-07-24 15:07:04 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-07-28 21:34:43 (GMT) |
commit | 4b3928a08f24d21c2d34487b9d89fee35814bd0d (patch) | |
tree | b2fce47816b22c714b01427d9899d837460a9303 /board/qca | |
parent | 623b7aca1f82bf1dee089c77f9a1020e80abaccc (diff) | |
download | u-boot-fsl-qoriq-4b3928a08f24d21c2d34487b9d89fee35814bd0d.tar.xz |
usb: host: ehci-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: Patrice Chotard <patrice.chotard@st.com>
Reported-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'board/qca')
0 files changed, 0 insertions, 0 deletions