mtd: rawnand: qcom: code reorganization for raw read
authorAbhishek Sahu <absahu@codeaurora.org>
Wed, 20 Jun 2018 07:27:40 +0000 (12:57 +0530)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:24:09 +0000 (09:24 +0200)
commit85632c17194e35e00871cfd80713c9acf087ac4f
tree9b90f1044fc0127683eb94e87be870ad890373ec
parent5bc36b2bf6e2c8bff723ebcd9ae9bd38156d21c0
mtd: rawnand: qcom: code reorganization for raw read

Make separate function to perform raw read for one codeword and
call this function multiple times for each codeword in case of
raw page read. This separate function will help in subsequent
patches related with erased codeword bitflip detection.

It will decrease throughput for raw page read. Raw page read
is used for debug purpose so it won't affect normal flash
operations.

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