Re: [PATCH v5 2/4] usb: mxs-phy: re-init phy during the connection is useless

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 22, 2012 at 03:13:10PM +0800, Peter Chen wrote:
> As phy is working, re-init phy may cause unexpected results
> 
> Signed-off-by: Peter Chen <peter.chen@xxxxxxxxxxxxx>

Acked-by: Felipe Balbi <balbi@xxxxxx>

> ---
>  drivers/usb/otg/mxs-phy.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/otg/mxs-phy.c b/drivers/usb/otg/mxs-phy.c
> index c1a67cb..5b09f33 100644
> --- a/drivers/usb/otg/mxs-phy.c
> +++ b/drivers/usb/otg/mxs-phy.c
> @@ -80,7 +80,6 @@ static int mxs_phy_on_connect(struct usb_phy *phy, int port)
>  {
>  	dev_dbg(phy->dev, "Connect on port %d\n", port);
>  
> -	mxs_phy_hw_init(to_mxs_phy(phy));
>  	writel_relaxed(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,
>  			phy->io_priv + HW_USBPHY_CTRL_SET);
>  
> -- 
> 1.7.0.4
> 
> 

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux