aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorValentine Barshak2023-05-31 00:51:31 +0200
committerMarek Vasut2023-06-10 13:34:05 +0200
commit41a0cfd0c5123cffb3a945223b6ef153df61f352 (patch)
treed1e76b8d1c294f22fa86a44959a9a02c46a1691b /arch/arm/dts
parentd49ba9c8d70c30d6f009e069cf43b4817be3546d (diff)
net: sh_eth: Fix RX error handling
In case RX error occurs, and the RD_RFE bit is set, the descriptor is never returned back to the queue. Make sh_eth_recv_start return zero length in this case so that the descriptor can be released and pushed back to the list. Also return the more appropriate -EAGAIN instead of -EINVAL if the descriptor is not ready yet. Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com> Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'arch/arm/dts')
0 files changed, 0 insertions, 0 deletions