[PATCH] phy: phy-imx8mq-usb: Remove .exit operation

Marek Vasut marex at denx.de
Thu Oct 19 15:38:03 CEST 2023


On 10/19/23 14:36, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at denx.de>
> 
> Currently, when running "ums 0 mmc 2" and breaking it via
> CTRL + C, the following message is seen:
> 
> u-boot=> ums 0 mmc 1
> UMS: LUN 0, dev mmc 1, hwpart 0, sector 0x0, count 0x1dacc00
> CTRL+C - Operation aborted
> clk usb_phy_root_clk already disabled
> 
> The USB PHY clock is disabled twice: first it gets disabled
> inside imx8mq_usb_phy_power_off(), then it is disabled again
> inside imx8mq_usb_phy_exit().
> 
> Let the USB PHY clock be disabled only once inside
> imx8mq_usb_phy_power_off() by removing the .exit operation.
> 
> Signed-off-by: Fabio Estevam <festevam at denx.de>

Indeed, makes sense.

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list