Skip to content

Commit 42f38cc

Browse files
committed
Merge tag 'mtd/fixes-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux
Pull mtd revert from Miquel Raynal: "Very late this cycle we identified a breakage that could potentially hit several spi controller drivers because of a change in the way the dummy cycles validity is checked. We do not know at the moment how to handle the situation properly, so we prefer to revert the faulty patch for the next release" * tag 'mtd/fixes-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux: Revert "mtd: spi-nor: core: replace dummy buswidth from addr to data"
2 parents 07757ee + d15638b commit 42f38cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/spi-nor/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void spi_nor_spimem_setup_op(const struct spi_nor *nor,
8989
op->addr.buswidth = spi_nor_get_protocol_addr_nbits(proto);
9090

9191
if (op->dummy.nbytes)
92-
op->dummy.buswidth = spi_nor_get_protocol_data_nbits(proto);
92+
op->dummy.buswidth = spi_nor_get_protocol_addr_nbits(proto);
9393

9494
if (op->data.nbytes)
9595
op->data.buswidth = spi_nor_get_protocol_data_nbits(proto);

0 commit comments

Comments
 (0)