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: Rename IO_MODE register macro

Suffix the macro name with *_REG to align with the rest of the driver.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

+2 -2
+2 -2
drivers/mtd/nand/spi/winbond.c
··· 22 22 #define W25N0XJW_SR4 0xD0 23 23 #define W25N0XJW_SR4_HS BIT(2) 24 24 25 - #define W35N01JW_VCR_IO_MODE 0x00 25 + #define W35N01JW_VCR_IO_MODE_REG 0x00 26 26 #define W35N01JW_VCR_IO_MODE_SINGLE_SDR 0xFF 27 27 #define W35N01JW_VCR_IO_MODE_OCTAL_SDR 0xDF 28 28 #define W35N01JW_VCR_IO_MODE_OCTAL_DDR_DS 0xE7 ··· 392 392 else 393 393 return -EINVAL; 394 394 395 - ret = w35n0xjw_write_vcr(spinand, W35N01JW_VCR_IO_MODE, io_mode); 395 + ret = w35n0xjw_write_vcr(spinand, W35N01JW_VCR_IO_MODE_REG, io_mode); 396 396 if (ret) 397 397 return ret; 398 398