summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/r8a66597-hcd.c
diff options
context:
space:
mode:
authorMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>2023-01-27 15:47:34 +1300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-31 10:38:05 +0100
commitff826648e1059606f8418f12b69a4b15a1eed1ba (patch)
treebad41f7d6e298b87835b32e4b2654a36809392e7 /drivers/usb/host/r8a66597-hcd.c
parent7194e5e0907b802ca76c9297399ab540fbf0513d (diff)
downloadlinux-stable-ff826648e1059606f8418f12b69a4b15a1eed1ba.tar.gz
linux-stable-ff826648e1059606f8418f12b69a4b15a1eed1ba.tar.bz2
linux-stable-ff826648e1059606f8418f12b69a4b15a1eed1ba.zip
USB: MAX3421: Handle USB NAK correctly
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@alliedtelesis.co.nz> Link: https://lore.kernel.org/r/20230127024734.8777-1-mark.tomlinson@alliedtelesis.co.nz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/r8a66597-hcd.c')
0 files changed, 0 insertions, 0 deletions