Skip to content

Commit 98b34d5

Browse files
committed
mtd: spinand: skyhigh: Align with recent read from cache variant changes
The SPINAND_PAGE_READ_FROM_CACHE_OP macro has just been changed to stop encoding the "fast" parameter (the macro has been duplicated and renamed). The Skyhigh driver is new and is still using the old style macro. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202501161302.bQqBGjJ5-lkp@intel.com/ Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/linux-kernel/20250116132010.4948547d@canb.auug.org.au/ Fixes: 0420872 ("mtd: spinand: Create distinct fast and slow read from cache variants") Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> # build tested
1 parent be7a05d commit 98b34d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/mtd/nand/spi/skyhigh.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ static SPINAND_OP_VARIANTS(read_cache_variants,
2121
SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, NULL, 0),
2222
SPINAND_PAGE_READ_FROM_CACHE_DUALIO_OP(0, 2, NULL, 0),
2323
SPINAND_PAGE_READ_FROM_CACHE_X2_OP(0, 1, NULL, 0),
24-
SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
25-
SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
24+
SPINAND_PAGE_READ_FROM_CACHE_FAST_OP(0, 1, NULL, 0),
25+
SPINAND_PAGE_READ_FROM_CACHE_OP(0, 1, NULL, 0));
2626

2727
static SPINAND_OP_VARIANTS(write_cache_variants,
2828
SPINAND_PROG_LOAD_X4(true, 0, NULL, 0),

0 commit comments

Comments
 (0)