Re: Correct ordering of phy_init and phy_power_on
From: Ahmad Fatoum
Date: Tue Dec 22 2020 - 04:09:12 EST
Hello Kishon,
On 21.12.20 04:15, Kishon Vijay Abraham I wrote:
>> So how was it meant to be?
>
> It is intended to be ->init() and then ->power_on(). So ideally it
> should be the way dwc3 is.
Thanks. Should we do something about the inconsistency?
Amend documentation and maybe print a warning when order is wrong,
so users are encouraged to fix their drivers?
The way it is, you can't properly mix some of the PHY and USB controller drivers.
Cheers,
Ahmad
>
> Thanks,
> Kishon
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |