diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2023-12-06 17:12:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-20 17:44:27 +0300 |
commit | 6a7b673e6ec7d1a5a86d4ff8c430e0a205a6af2b (patch) | |
tree | 7e9e59575be8fef7a5aecd996c47e68425e16d04 /drivers/atm | |
parent | 347d10877bde00cd9f998f7dbaa82b87b524a3cf (diff) | |
download | linux-6a7b673e6ec7d1a5a86d4ff8c430e0a205a6af2b.tar.xz |
qca_spi: Fix reset behavior
[ Upstream commit 1057812d146dd658c9a9a96d869c2551150207b5 ]
In case of a reset triggered by the QCA7000 itself, the behavior of the
qca_spi driver was not quite correct:
- in case of a pending RX frame decoding the drop counter must be
incremented and decoding state machine reseted
- also the reset counter must always be incremented regardless of sync
state
Fixes: 291ab06ecf67 ("net: qualcomm: new Ethernet over SPI driver for QCA7000")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20231206141222.52029-4-wahrenst@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions