Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mtd: spinand: winbond: Declare the QE bit on W25NxxJW

Factory default for this bit is "set" (at least on the chips I have),
but we must make sure it is actually set by Linux explicitly, as the
bit is writable by an earlier stage.

Fixes: 6a804fb72de5 ("mtd: spinand: winbond: add support for serial NAND flash")
Cc: stable@vger.kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

+2 -2
+2 -2
drivers/mtd/nand/spi/winbond.c
··· 488 488 SPINAND_INFO_OP_VARIANTS(&read_cache_dual_quad_dtr_variants, 489 489 &write_cache_variants, 490 490 &update_cache_variants), 491 - 0, 491 + SPINAND_HAS_QE_BIT, 492 492 SPINAND_ECCINFO(&w25n01jw_ooblayout, NULL), 493 493 SPINAND_CONFIGURE_CHIP(w25n0xjw_hs_cfg)), 494 494 SPINAND_INFO("W25N01KV", /* 3.3V */ ··· 552 552 SPINAND_INFO_OP_VARIANTS(&read_cache_dual_quad_dtr_variants, 553 553 &write_cache_variants, 554 554 &update_cache_variants), 555 - 0, 555 + SPINAND_HAS_QE_BIT, 556 556 SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL), 557 557 SPINAND_CONFIGURE_CHIP(w25n0xjw_hs_cfg)), 558 558 SPINAND_INFO("W25N02KV", /* 3.3V */