u-boot/drivers/mtd
Baruch Siach 593f3976be mtd: nand: pxa3xx: fix raw read when last_chunk_size == 0
Commit 6293b0361d ("mtd: nand: pxa3xx: add raw read support") added the
local data_len variable in handle_data_pio() to track read size, but
forgot to update the condition of drain_fifo() call. That happens to
work when the layout last_chunk_size != 0. But when last_chunk_size ==
0, drain_fifo() is not called to read the last chunk, which leads to
"Wait timeout!!!" error. Fix this.

Fixes: 6293b0361d ("mtd: nand: pxa3xx: add raw read support")
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
2020-04-24 15:17:14 -04:00
..
nand mtd: nand: pxa3xx: fix raw read when last_chunk_size == 0 2020-04-24 15:17:14 -04:00
onenand dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
spi mtd: spi: Add Macronix MX25U3235F device 2020-04-02 14:30:02 -07:00
ubi dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ubispl crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
altera_qspi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cfi_flash.c common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
cfi_mtd.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hbmc-am654.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
jedec_flash.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
Kconfig mtd: rename CONFIG_MTD_DEVICE -> CONFIG_MTD 2019-12-03 23:04:10 -05:00
Makefile mtd: Makefile: deep cleanup 2019-12-04 17:10:51 -05:00
mtd-uclass.c mtd: uclass: add probe function 2018-10-02 22:12:31 +05:30
mtd_uboot.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mtdconcat.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
mtdcore.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
mtdcore.h mtd: move definitions to enlarge their range 2018-09-20 20:10:49 +05:30
mtdpart.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
mw_eeprom.c common: Move old EEPROM functions into a new header 2019-12-02 18:25:25 -05:00
pic32_flash.c common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
renesas_rpc_hf.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
st_smi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32_flash.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32_flash.h stm32: stm32f4: move flash driver to mtd driver location 2016-03-26 18:49:28 -04:00