summaryrefslogtreecommitdiff
path: root/drivers/nvmem/vf610-ocotp.c
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2018-06-20 12:57:36 +0530
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-18 09:24:08 +0200
commitadd0cfa3c3e51149c2101765edf05c548ba5f2ee (patch)
treecba72336cdbf3071fe72d6066e50fc4651fe0243 /drivers/nvmem/vf610-ocotp.c
parent2f610386736d9e5dc69fa06374138f9712690921 (diff)
mtd: rawnand: qcom: parse read errors for read oob also
read_page and read_oob both calls the read_page_ecc function. The QCOM NAND controller protect the OOB available bytes with ECC so read errors should be checked for read_oob also. This patch moves the error checking code inside read_page_ecc so caller does not have to check explicitly for read errors. Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/nvmem/vf610-ocotp.c')
0 files changed, 0 insertions, 0 deletions