Skip to content

Commit 131798a

Browse files
lategoodbyegregkh
authored andcommitted
qca_spi: Make driver probing reliable
[ Upstream commit becc639 ] 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: 291ab06 ("net: qualcomm: new Ethernet over SPI driver for QCA7000") Signed-off-by: Stefan Wahren <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent ebaf832 commit 131798a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/qualcomm/qca_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ MODULE_PARM_DESC(qcaspi_burst_len, "Number of data bytes per burst. Use 1-5000."
6666

6767
#define QCASPI_PLUGGABLE_MIN 0
6868
#define QCASPI_PLUGGABLE_MAX 1
69-
static int qcaspi_pluggable = QCASPI_PLUGGABLE_MIN;
69+
static int qcaspi_pluggable = QCASPI_PLUGGABLE_MAX;
7070
module_param(qcaspi_pluggable, int, 0);
7171
MODULE_PARM_DESC(qcaspi_pluggable, "Pluggable SPI connection (yes/no).");
7272

0 commit comments

Comments
 (0)