Re: [PATCH] usb: dwc3: remove 'pm_runtime_set_active' in resume callback

2021-03-18 Thread taehyun cho
On Wed, Mar 17, 2021 at 11:11:59AM -0400, Alan Stern wrote: > On Wed, Mar 17, 2021 at 05:25:20PM +0900, taehyun cho wrote: > > On Mon, Mar 15, 2021 at 10:13:35AM -0400, Alan Stern wrote: > > > On Mon, Mar 15, 2021 at 04:43:17PM +0900, taehyun cho wrote: > > > > 'pm_runtime_set_active' sets a flag t

Re: [PATCH] usb: dwc3: remove 'pm_runtime_set_active' in resume callback

2021-03-17 Thread Alan Stern
On Wed, Mar 17, 2021 at 05:25:20PM +0900, taehyun cho wrote: > On Mon, Mar 15, 2021 at 10:13:35AM -0400, Alan Stern wrote: > > On Mon, Mar 15, 2021 at 04:43:17PM +0900, taehyun cho wrote: > > > 'pm_runtime_set_active' sets a flag to describe rumtime status. > > > This flag is automatically set in p

Re: [PATCH] usb: dwc3: remove 'pm_runtime_set_active' in resume callback

2021-03-17 Thread taehyun cho
On Mon, Mar 15, 2021 at 10:13:35AM -0400, Alan Stern wrote: > On Mon, Mar 15, 2021 at 04:43:17PM +0900, taehyun cho wrote: > > 'pm_runtime_set_active' sets a flag to describe rumtime status. > > This flag is automatically set in pm_runtime_get_sync/put_sync API. > > 'pm_runtime_set_active' checks t

Re: [PATCH] usb: dwc3: remove 'pm_runtime_set_active' in resume callback

2021-03-16 Thread taehyun cho
On Mon, Mar 15, 2021 at 10:13:35AM -0400, Alan Stern wrote: > On Mon, Mar 15, 2021 at 04:43:17PM +0900, taehyun cho wrote: > > 'pm_runtime_set_active' sets a flag to describe rumtime status. > > This flag is automatically set in pm_runtime_get_sync/put_sync API. > > 'pm_runtime_set_active' checks t

Re: [PATCH] usb: dwc3: remove 'pm_runtime_set_active' in resume callback

2021-03-15 Thread Alan Stern
On Mon, Mar 15, 2021 at 04:43:17PM +0900, taehyun cho wrote: > 'pm_runtime_set_active' sets a flag to describe rumtime status. > This flag is automatically set in pm_runtime_get_sync/put_sync API. > 'pm_runtime_set_active' checks the runtime status of parent device. > As a result, the below error m

[PATCH] usb: dwc3: remove 'pm_runtime_set_active' in resume callback

2021-03-15 Thread taehyun cho
'pm_runtime_set_active' sets a flag to describe rumtime status. This flag is automatically set in pm_runtime_get_sync/put_sync API. 'pm_runtime_set_active' checks the runtime status of parent device. As a result, the below error message is printed. dwc3 .dwc3: runtime PM trying to activate