[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191008080711.GH5670@b29397-desktop>
Date: Tue, 8 Oct 2019 08:07:28 +0000
From: Peter Chen <peter.chen@....com>
To: Roger Quadros <rogerq@...com>
CC: "felipe.balbi@...ux.intel.com" <felipe.balbi@...ux.intel.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"pawell@...ence.com" <pawell@...ence.com>,
"nsekhar@...com" <nsekhar@...com>,
"kurahul@...ence.com" <kurahul@...ence.com>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] usb: cdns3: gadget: Fix full-speed mode
On 19-10-07 15:16:01, Roger Quadros wrote:
> We need to disable USB3 PHY for full-speed mode else
> gadget mode is broken.
>
> Signed-off-by: Roger Quadros <rogerq@...com>
> Signed-off-by: Sekhar Nori <nsekhar@...com>
> ---
> drivers/usb/cdns3/gadget.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c
> index 228cdc4ab886..157536753b8c 100644
> --- a/drivers/usb/cdns3/gadget.c
> +++ b/drivers/usb/cdns3/gadget.c
> @@ -2571,6 +2571,7 @@ static int cdns3_gadget_start(struct cdns3 *cdns)
> switch (max_speed) {
> case USB_SPEED_FULL:
> writel(USB_CONF_SFORCE_FS, &priv_dev->regs->usb_conf);
> + writel(USB_CONF_USB3DIS, &priv_dev->regs->usb_conf);
> break;
> case USB_SPEED_HIGH:
> writel(USB_CONF_USB3DIS, &priv_dev->regs->usb_conf);
Reviewed-by: Peter Chen <peter.chen@....com>
--
Thanks,
Peter Chen
Powered by blists - more mailing lists