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.

Merge tag 'fixes-for-5.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux

Pull MTD fixes from Richard Weinberger:
"Two fixes for MTD:

- spi-nor: Fix for a regression in write_sr()

- rawnand: Regression fix for the au1550nd driver"

* tag 'fixes-for-5.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
mtd: rawnand: au1550nd: Fix au_read_buf16() prototype
mtd: spi-nor: Fix direction of the write_sr() transfer

+3 -4
+2 -3
drivers/mtd/nand/raw/au1550nd.c
··· 134 134 135 135 /** 136 136 * au_read_buf16 - read chip data into buffer 137 - * @mtd: MTD device structure 137 + * @this: NAND chip object 138 138 * @buf: buffer to store date 139 139 * @len: number of bytes to read 140 140 * 141 141 * read function for 16bit buswidth 142 142 */ 143 - static void au_read_buf16(struct mtd_info *mtd, u_char *buf, int len) 143 + static void au_read_buf16(struct nand_chip *this, u_char *buf, int len) 144 144 { 145 145 int i; 146 - struct nand_chip *this = mtd_to_nand(mtd); 147 146 u16 *p = (u16 *) buf; 148 147 len >>= 1; 149 148
+1 -1
drivers/mtd/spi-nor/spi-nor.c
··· 487 487 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_WRSR, 1), 488 488 SPI_MEM_OP_NO_ADDR, 489 489 SPI_MEM_OP_NO_DUMMY, 490 - SPI_MEM_OP_DATA_IN(1, nor->bouncebuf, 1)); 490 + SPI_MEM_OP_DATA_OUT(1, nor->bouncebuf, 1)); 491 491 492 492 return spi_mem_exec_op(nor->spimem, &op); 493 493 }