diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2025-05-09 14:04:35 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-12 18:46:44 -0700 |
commit | 8ea6e51e54c512f4042b1b39e404bcffb1a7f059 (patch) | |
tree | 137289c7edda1ebf2c3176f45ad3e0ac21f0857e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4ecf56f4b66011b583644bf9a62188d05dfcd78c (diff) |
net: vertexcom: mse102x: Simplify mse102x_rx_pkt_spi
The function mse102x_rx_pkt_spi is used in two cases:
* initial polling to re-arm RX interrupt
* level based RX interrupt handler
Both of them doesn't need an open-coded retry mechanism.
In the first case the function can be called again, if the return code
is IRQ_NONE. This keeps the error behavior during netdev open.
In the second case the proper retry would be handled implicit by
the SPI interrupt. So drop the retry code and simplify the receive path.
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://patch.msgid.link/20250509120435.43646-7-wahrenst@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions