Re: refine xhci-plat-Fix-xhci_plat-shutdown-sequence

2018-04-18 Thread Greg KH
On Wed, Apr 18, 2018 at 01:41:45PM +0800, lei...@codeaurora.org wrote: > On 2018-04-17 18:32, Greg KH wrote: > > On Tue, Apr 17, 2018 at 11:32:42AM +0800, lei...@codeaurora.org wrote: > > > > > > xhci-plat Shutdown callback should check HCD_FLAG_HW_ACCESSIBLE > > > before accessing any register.

Re: refine xhci-plat-Fix-xhci_plat-shutdown-sequence

2018-04-17 Thread leiwan
On 2018-04-17 18:32, Greg KH wrote: On Tue, Apr 17, 2018 at 11:32:42AM +0800, lei...@codeaurora.org wrote: xhci-plat Shutdown callback should check HCD_FLAG_HW_ACCESSIBLE before accessing any register. This should avoid hung with access controllers which support runtime suspend This can fix

Re: refine xhci-plat-Fix-xhci_plat-shutdown-sequence

2018-04-17 Thread Greg KH
On Tue, Apr 17, 2018 at 11:32:42AM +0800, lei...@codeaurora.org wrote: > > xhci-plat Shutdown callback should check HCD_FLAG_HW_ACCESSIBLE > before accessing any register. This should avoid hung with access > controllers which support runtime suspend > > This can fix for issue of

Re: refine xhci-plat-Fix-xhci_plat-shutdown-sequence

2018-04-17 Thread Greg KH
On Tue, Apr 17, 2018 at 11:32:42AM +0800, lei...@codeaurora.org wrote: > > xhci-plat Shutdown callback should check HCD_FLAG_HW_ACCESSIBLE > before accessing any register. This should avoid hung with access > controllers which support runtime suspend > > This can fix for issue of

refine xhci-plat-Fix-xhci_plat-shutdown-sequence

2018-04-16 Thread leiwan
xhci-plat Shutdown callback should check HCD_FLAG_HW_ACCESSIBLE before accessing any register. This should avoid hung with access controllers which support runtime suspend This can fix for issue of https://patchwork.kernel.org/patch/10339317/ corresponding upload in CAF: