lkml.org 
[lkml]   [2016]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RESEND PATCH v2] usb: xhci-mtk: fix AHB bus hang up caused by roothubs polling
From
Date
Hi,
On Mon, 2016-01-11 at 16:01 +0200, Mathias Nyman wrote:
> On 08.01.2016 03:28, Chunfeng Yun wrote:
> > when ip fails to enter sleep mode, register access protection will
> > be disabled, at the same time if all clocks are disabled, access
> > register will hang up AHB bus.
> > the common case causes ip sleep failure is that after all ports
> > enter U3 but before ip enters sleep mode, a port receives a resume
> > signal('K'). this will happens when such as clicks mouse to try to
> > do remote-wakeup to stop system enter suspend.
> > so stop polling root hubs to avoid access xHCI register on bus
> > suspend, and restart it when bus resumes.
> >
> > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> > ---
> > drivers/usb/host/xhci-mtk.c | 23 +++++++++++++++++++++++
>
> The xhci Mediatek (xhci-mtk etc) support is in usb-next and should be available first time
> in 4.5-rc1 kernel.
>
> I'll forward fixes for it once 4.5-rc1 is out, they should end up in final 4.5
>
Thank you!

> -Mathias
>


\
 
 \ /
  Last update: 2016-01-12 03:21    [W:5.810 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site