Skip to content

Commit 9a3422a

Browse files
committed
Revert "mtd: spi-nor: Prefer asynchronous probe"
This reverts commit 03edda0. This leads to warn dump like [1] on some platforms and reorders MTD devices which may break user space expectations [2]. So revert the change. [1]: [ 1.849801] ------------[ cut here ]------------ [ 1.854271] mscc_felix 0000:00:00.5: device is disabled, skipping [ 1.858753] WARNING: CPU: 1 PID: 7 at kernel/kmod.c:136 __request_module+0x3a4/0x568 [...] [2] Bug report: https://lore.kernel.org/linux-mtd/20201003150633.23416-1-michael@walle.cc/ Reported-by: Michael Walle <michael@walle.cc> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20201005090321.8724-1-vigneshr@ti.com
1 parent 6eedfd8 commit 9a3422a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/mtd/spi-nor/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3451,7 +3451,6 @@ static struct spi_mem_driver spi_nor_driver = {
34513451
.driver = {
34523452
.name = "spi-nor",
34533453
.of_match_table = spi_nor_of_table,
3454-
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
34553454
},
34563455
.id_table = spi_nor_dev_ids,
34573456
},

0 commit comments

Comments
 (0)