[U-Boot] [PATCH 3/4] usb: host: ehci-generic: initialize PHY only when found

Simon Glass sjg at chromium.org
Sun Aug 6 05:15:28 UTC 2017


On 24 July 2017 at 09:07,  <patrice.chotard at st.com> wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> 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 at st.com>
> Reported-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>  drivers/usb/host/ehci-generic.c | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list