1 --- a/drivers/mtd/devices/m25p80.c
2 +++ b/drivers/mtd/devices/m25p80.c
3 @@ -137,10 +137,12 @@ static int m25p80_read(struct spi_nor *n
4 flash->command[0] = nor->read_opcode;
5 m25p_addr2cmd(nor, from, flash->command);
7 + t[0].type = SPI_TRANSFER_FLASH_READ_CMD;
8 t[0].tx_buf = flash->command;
9 t[0].len = m25p_cmdsz(nor) + dummy;
10 spi_message_add_tail(&t[0], &m);
12 + t[1].type = SPI_TRANSFER_FLASH_READ_DATA;
14 t[1].rx_nbits = m25p80_rx_nbits(nor);