Re: [PATCH v1] phy: tegra: xusb: Fix usb_phy device driver field

From: Vinod Koul
Date: Mon Nov 30 2020 - 10:38:34 EST


On 17-11-20, 16:38, JC Kuo wrote:
> In commit "phy: tegra: xusb: Add usb-phy support", an OTG capable PHY
> device, such as phy-usb2.0 device of Jetson-TX1 platform, will be
> bound to the tegra-xusb-padctl driver by the following line in
> tegra_xusb_setup_usb_role_switch().
>
> port->usb_phy.dev->driver = port->padctl->dev->driver;
>
> With this, dev_pm_ops set of tegra-xusb-padctl driver will be invoked
> for the OTG capable PHY incorrectly as below logs show.
>
> This commit fixes the issue by assigning an empty driver to it.

Applied, thanks

--
~Vinod