Re: [PATCH] USB: MAX3421: Handle USB NAK correctly

From: Greg KH
Date: Fri Jan 27 2023 - 01:23:43 EST


On Fri, Jan 27, 2023 at 03:47:34PM +1300, Mark Tomlinson wrote:
> A USB peripheral can respond with a NAK if it is not yet ready to
> send/receive data. In this case, the transaction should be retried. The
> MAX3421 driver did do this, and switched to a different type of retry
> after a number of 'fast' retries. On at least some USB flash devices,
> this second type of retry never succeeds. This patch changes the
> behaviour so that 'fast' retries continue.
>
> Signed-off-by: Mark Tomlinson <mark.tomlinson@xxxxxxxxxxxxxxxxxxx>
> ---
> drivers/usb/host/max3421-hcd.c | 13 ++-----------
> 1 file changed, 2 insertions(+), 11 deletions(-)

What commit id does this fix? And should it be backported to older
kernel trees?

thanks,

greg k-h