]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ed388c376858f374bd0dfbe8a0d65debe344117
tree9b90f1044fc0127683eb94e87be870ad890373ec
parent8a2d10944e3783aa4cd63382b6deb8833509e558
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