diff options
author | Abhishek Sahu <absahu@codeaurora.org> | 2018-06-20 12:57:36 +0530 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-18 09:24:08 +0200 |
commit | add0cfa3c3e51149c2101765edf05c548ba5f2ee (patch) | |
tree | cba72336cdbf3071fe72d6066e50fc4651fe0243 /net/nfc | |
parent | 2f610386736d9e5dc69fa06374138f9712690921 (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 'net/nfc')
0 files changed, 0 insertions, 0 deletions