1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-27 10:24:34 +01:00
Files
u-boot-megous/drivers/usb
Jonas Karlman 5ccfdd8a83 usb: dwc3: Use generic_phy_valid() helper
The documentation for struct phy state that "The content of the
structure is managed solely by the PHY API and PHY drivers".

Change to use the generic_phy_valid() helper to check if phy is valid.
Also remove setting phy->dev to NULL now that generic_phy_get_by_name()
properly initialize phy->dev to NULL.

Fixes: 142d50fbce ("usb: dwc3: Add support for usb3-phy PHY configuration")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
2023-09-13 15:52:20 -04:00
..
2022-07-12 21:59:54 +02:00
2022-07-12 21:59:54 +02:00