Files
linux/drivers/net/ethernet/qualcomm
Stefan Wahren 6c9f30f23c net: qca_spi: Avoid high load if QCA7000 is not available
[ Upstream commit 92717c2356 ]

In case the QCA7000 is not available via SPI (e.g. in reset),
the driver will cause a high load. The reason for this is
that the synchronization is never finished and schedule()
is never called. Since the synchronization is not timing
critical, it's safe to drop this from the scheduling condition.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: 291ab06ecf ("net: qualcomm: new Ethernet over SPI driver for QCA7000")
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-28 11:14:12 +02:00
..
2022-03-04 12:02:19 +00:00