mtd: rawnand: qcom: check for operation errors in case of raw read
authorAbhishek Sahu <absahu@codeaurora.org>
Wed, 20 Jun 2018 07:27:39 +0000 (12:57 +0530)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:24:09 +0000 (09:24 +0200)
commit5bc36b2bf6e2c8bff723ebcd9ae9bd38156d21c0
tree20b8e1b2b2eb8425dc2075fbc8107e0f66f27c2a
parent783b5bf9bd91a59717df38ec3ba7d65b1f441f32
mtd: rawnand: qcom: check for operation errors in case of raw read

Currently there is no error checking for raw read. For raw
reads, there won’t be any ECC failure but the operational
failures are possible, so schedule the NAND_FLASH_STATUS read
after each codeword.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/qcom_nandc.c