diff options
author | Fabio Estevam <festevam@denx.de> | 2023-10-19 09:36:09 -0300 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2023-12-13 09:52:53 -0300 |
commit | 7e3d6ec9bfc56dd779d4c618915bac708b7dccb6 (patch) | |
tree | 0d0a9889abba0ce702b4ee42de1fbb5c79d11f5b /drivers | |
parent | f3197668919b2830825b4fd32a7208b704fef829 (diff) | |
download | u-boot-7e3d6ec9bfc56dd779d4c618915bac708b7dccb6.zip u-boot-7e3d6ec9bfc56dd779d4c618915bac708b7dccb6.tar.gz u-boot-7e3d6ec9bfc56dd779d4c618915bac708b7dccb6.tar.bz2 |
phy: phy-imx8mq-usb: Remove .exit operation
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@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/phy/phy-imx8mq-usb.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/phy/phy-imx8mq-usb.c b/drivers/phy/phy-imx8mq-usb.c index b660ead..e5e96e7 100644 --- a/drivers/phy/phy-imx8mq-usb.c +++ b/drivers/phy/phy-imx8mq-usb.c @@ -231,16 +231,10 @@ static int imx8mq_usb_phy_power_off(struct phy *usb_phy) return 0; } -static int imx8mq_usb_phy_exit(struct phy *usb_phy) -{ - return imx8mq_usb_phy_power_off(usb_phy); -} - struct phy_ops imx8mq_usb_phy_ops = { .init = imx8mpq_usb_phy_init, .power_on = imx8mq_usb_phy_power_on, .power_off = imx8mq_usb_phy_power_off, - .exit = imx8mq_usb_phy_exit, }; int imx8mq_usb_phy_probe(struct udevice *dev) |