Re: [PATCH 7/8] xhci: Increase STS_SAVE timeout in xhci_suspend()

2019-10-07 Thread Kai-Heng Feng
Hi Sasha, > On Oct 6, 2019, at 20:07, Sasha Levin wrote: > > Hi, > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag, > fixing commit: f7fac17ca925 xhci: Convert xhci_handshake() to use > readl_poll_timeout_atomic(). > > The bot has tested t

[PATCH 7/8] xhci: Increase STS_SAVE timeout in xhci_suspend()

2019-10-04 Thread Mathias Nyman
From: Kai-Heng Feng After commit f7fac17ca925 ("xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic()"), ASMedia xHCI may fail to suspend. Although the algorithms are essentially the same, the old max timeout is (usec + usec * time of doing readl()), and the new max timeout is just u