* [1/6] usb: xhci-mtk: resume USB3 roothub first
@ 2018-08-29 2:55 Chunfeng Yun
0 siblings, 0 replies; 4+ messages in thread
From: Chunfeng Yun @ 2018-08-29 2:55 UTC (permalink / raw)
To: Mathias Nyman
Cc: Greg Kroah-Hartman, Felipe Balbi, Matthias Brugger, Alan Stern,
Chunfeng Yun, linux-usb, devicetree, linux-kernel,
linux-arm-kernel, linux-mediatek
Give USB3 devices a better chance to enumerate at USB3 speeds if
they are connected to a suspended host.
Porting from "671ffdf xhci: resume USB 3 roothub first"
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
drivers/usb/host/xhci-mtk.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index 7334da9..71d0d33 100644
--- a/drivers/usb/host/xhci-mtk.c
+++ b/drivers/usb/host/xhci-mtk.c
@@ -642,10 +642,10 @@ static int __maybe_unused xhci_mtk_resume(struct device *dev)
xhci_mtk_host_enable(mtk);
xhci_dbg(xhci, "%s: restart port polling\n", __func__);
- set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
- usb_hcd_poll_rh_status(hcd);
set_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags);
usb_hcd_poll_rh_status(xhci->shared_hcd);
+ set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
+ usb_hcd_poll_rh_status(hcd);
return 0;
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [1/6] usb: xhci-mtk: resume USB3 roothub first
@ 2018-08-29 9:13 Sergei Shtylyov
0 siblings, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2018-08-29 9:13 UTC (permalink / raw)
To: Chunfeng Yun, Mathias Nyman
Cc: Greg Kroah-Hartman, Felipe Balbi, Matthias Brugger, Alan Stern,
linux-usb, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek
On 8/29/2018 5:55 AM, Chunfeng Yun wrote:
> Give USB3 devices a better chance to enumerate at USB3 speeds if
> they are connected to a suspended host.
> Porting from "671ffdf xhci: resume USB 3 roothub first"
From commit 671ffdff5b13 ("xhci: resume USB 3 roothub first").
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
[...]
MBR, Sergei
^ permalink raw reply [flat|nested] 4+ messages in thread
* [1/6] usb: xhci-mtk: resume USB3 roothub first
@ 2018-08-30 1:09 Chunfeng Yun
0 siblings, 0 replies; 4+ messages in thread
From: Chunfeng Yun @ 2018-08-30 1:09 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Mathias Nyman, Greg Kroah-Hartman, Felipe Balbi, Matthias Brugger,
Alan Stern, linux-usb, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek
Hi,
On Wed, 2018-08-29 at 12:13 +0300, Sergei Shtylyov wrote:
> On 8/29/2018 5:55 AM, Chunfeng Yun wrote:
>
> > Give USB3 devices a better chance to enumerate at USB3 speeds if
> > they are connected to a suspended host.
> > Porting from "671ffdf xhci: resume USB 3 roothub first"
>
> From commit 671ffdff5b13 ("xhci: resume USB 3 roothub first").
Ok, Thanks
> > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> [...]
>
> MBR, Sergei
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [1/6] usb: xhci-mtk: resume USB3 roothub first
@ 2018-09-04 14:44 Mathias Nyman
0 siblings, 0 replies; 4+ messages in thread
From: Mathias Nyman @ 2018-09-04 14:44 UTC (permalink / raw)
To: Chunfeng Yun, Sergei Shtylyov
Cc: Mathias Nyman, Greg Kroah-Hartman, Felipe Balbi, Matthias Brugger,
Alan Stern, linux-usb, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek
On 30.08.2018 04:09, Chunfeng Yun wrote:
> Hi,
> On Wed, 2018-08-29 at 12:13 +0300, Sergei Shtylyov wrote:
>> On 8/29/2018 5:55 AM, Chunfeng Yun wrote:
>>
>>> Give USB3 devices a better chance to enumerate at USB3 speeds if
>>> they are connected to a suspended host.
>>> Porting from "671ffdf xhci: resume USB 3 roothub first"
>>
>> From commit 671ffdff5b13 ("xhci: resume USB 3 roothub first").
>
> Ok, Thanks
>
adding to queue (I'll fix that commit ID)
-Mathias
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-09-04 14:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-30 1:09 [1/6] usb: xhci-mtk: resume USB3 roothub first Chunfeng Yun
-- strict thread matches above, loose matches on Subject: below --
2018-09-04 14:44 Mathias Nyman
2018-08-29 9:13 Sergei Shtylyov
2018-08-29 2:55 Chunfeng Yun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox