diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2025-04-30 16:30:43 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-01 17:24:05 +0300 |
commit | ee512922ddd7d64afe2b28830a88f19063217649 (patch) | |
tree | 9cbe542ab763e8355f11e6760b184ebef282ac33 /drivers/usb/cdns3/cdns3-gadget.c | |
parent | d4dda902dac194e3231a1ed0f76c6c3b6340ba8a (diff) | |
download | linux-ee512922ddd7d64afe2b28830a88f19063217649.tar.xz |
net: vertexcom: mse102x: Fix RX error handling
In case the CMD_RTS got corrupted by interferences, the MSE102x
doesn't allow a retransmission of the command. Instead the Ethernet
frame must be shifted out of the SPI FIFO. Since the actual length is
unknown, assume the maximum possible value.
Fixes: 2f207cbf0dd4 ("net: vertexcom: Add MSE102x SPI support")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250430133043.7722-5-wahrenst@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions