commit | eabebc038388fa22e86edc48d3a31fd45ac7cbac | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@st.com> | Mon Jul 24 17:07:05 2017 +0200 |
committer | Marek Vasut <marex@denx.de> | Fri Jul 28 23:34:43 2017 +0200 |
tree | c355cd8a4ce699c948dbe51ce072e7a02324a11b | |
parent | 3c72a94737c71606402946b6e4e4350bf2df9a3a [diff] |
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: Patrice Chotard <patrice.chotard@st.com> Reported-by: Patrick Delaunay <patrick.delaunay@st.com>