Files
u-boot/drivers
Pratyush Yadav 6182d15b3e mtd: spi-nor-core: Do not set data direction when there is no data
Even when spi_nor_write_reg() has no data to write, like when executing
a write enable operation, it sets the data direction to
SPI_MEM_DATA_OUT. This trips up spi_mem_check_buswidth() because it
expects a data phase when there is none. Make sure the data direction is
set to SPI_MEM_NO_DATA when there is no data to write.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2021-06-28 11:59:47 +05:30
..
2021-03-08 10:32:34 +01:00
2021-06-24 11:53:00 +05:30
2021-06-18 10:09:41 +02:00
2021-04-10 08:04:42 -04:00
2021-06-18 14:36:24 +08:00
2021-03-27 13:59:36 +13:00
2021-05-04 07:57:18 -04:00
2021-03-13 13:14:52 -05:00