Re: [PATCH] usb: core: hub: fix race condition about TRSMRCY of resume
From: Greg Kroah-Hartman
Date: Tue May 11 2021 - 07:27:39 EST
On Tue, May 11, 2021 at 06:15:22PM +0800, Chunfeng Yun wrote:
> This may happen if the port becomes resume status exactly
> when usb_port_resume() gets port status, it still need provide
> a TRSMCRY time before access the device.
>
> Reported-by: Tianping Fang <tianping.fang@xxxxxxxxxxxx>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@xxxxxxxxxxxx>
> ---
> drivers/usb/core/hub.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Does this need to go to any older/stable kernels? If so, how far back?
thanks,
greg k-h