]> www.infradead.org Git - users/willy/pagecache.git/commit
qca_spi: Make driver probing reliable
authorStefan Wahren <wahrenst@gmx.net>
Fri, 6 Dec 2024 18:46:43 +0000 (19:46 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Dec 2024 02:26:48 +0000 (18:26 -0800)
commitbecc6399ce3b724cffe9ccb7ef0bff440bb1b62b
treed799cfe798dd588623a9884a457f082a606b2ad3
parent4dba406fac06b009873fe7a28231b9b7e4288b09
qca_spi: Make driver probing reliable

The module parameter qcaspi_pluggable controls if QCA7000 signature
should be checked at driver probe (current default) or not. Unfortunately
this could fail in case the chip is temporary in reset, which isn't under
total control by the Linux host. So disable this check per default
in order to avoid unexpected probe failures.

Fixes: 291ab06ecf67 ("net: qualcomm: new Ethernet over SPI driver for QCA7000")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://patch.msgid.link/20241206184643.123399-3-wahrenst@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qualcomm/qca_spi.c