[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210201060646.GA188943@ubuntu>
Date: Mon, 1 Feb 2021 15:06:46 +0900
From: Jung Daehwan <dh10.jung@...sung.com>
To: Felipe Balbi <balbi@...nel.org>,
Wesley Cheng <wcheng@...eaurora.org>
Cc: Felipe Balbi <balbi@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"supporter:USB SUBSYSTEM open list:DESIGNWARE USB3 DRD IP DRIVER"
<linux-usb@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
Thinh Nguyen <Thinh.Nguyen@...opsys.com>
Subject: Re: usb: dwc3: gadget: skip pullup and set_speed after suspend
On Sun, Jan 24, 2021 at 05:31:57PM +0200, Felipe Balbi wrote:
>
> Hi,
>
> Daehwan Jung <dh10.jung@...sung.com> writes:
> > Sometimes dwc3_gadget_pullup and dwc3_gadget_set_speed are called after
> > entering suspend. That's why it needs to check whether suspend
> >
> > 1. dwc3 sends disconnect uevent and turn off. (suspend)
> > 2. Platform side causes pullup or set_speed(e.g., adbd closes ffs node)
> > 3. It causes unexpected behavior like ITMON error.
>
> please collect dwc3 trace events showing this problem.
>
> --
> balbi
Hi, balbi
I'm sorry for late reply. I pulled in belo patch and that issue didn't occur
usb: dwc3: gadget: Restart DWC3 gadget when enabling pullup
@ Wesley cheng
But, I think it needs to modify pm_rumtime_put to pm_runtime_put_sync_suspend
for syncronization. pm_rumtime_put calls rumtime_idle not runtime_suspend
Please check it.
usb: dwc3: gadget: Allow runtime suspend if UDC unbinded
Best Regards,
Jung Daehwan
Powered by blists - more mailing lists