[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4dcdcdcf-2878-f6b1-e85a-6cb2a478ed1a@gmail.com>
Date: Sun, 18 Oct 2020 20:40:01 +0300
From: Sergei Shtylyov <sergei.shtylyov@...il.com>
To: Dejin Zheng <zhengdejin5@...il.com>, balbi@...nel.org,
gregkh@...uxfoundation.org, linux-usb@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] usb: dwc3: core: fix a issue about clear connect state
Hello!
On 10/18/20 4:47 PM, Dejin Zheng wrote:
> According to Synopsys Programming Guide chapter 2.2 Register Resets,
> it cannot reset the DCTL register by set DCTL.CSFTRST for Core Soft Reset,
s/set/setting/.
> if DWC3 controller as a slave device and stay connected with a usb host,
> then, reboot linux, it will fail to reinitialize dwc3 as a slave device
s/reboot/while rebooting/.
> when the DWC3 controller did not power off. because the connection status
> is incorrect, so we also need clear DCTL.RUN_STOP bit for disable connect
^ to ^ ing
> when do core soft reset.
^ ing
> Fixes: f59dcab176293b6 ("usb: dwc3: core: improve reset sequence")
> Signed-off-by: Dejin Zheng <zhengdejin5@...il.com>
[...]
MBR, Sergei
Powered by blists - more mailing lists