mtd: rawnand: qcom: fix return value for raw page read
authorAbhishek Sahu <absahu@codeaurora.org>
Wed, 20 Jun 2018 07:27:38 +0000 (12:57 +0530)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:24:09 +0000 (09:24 +0200)
commit783b5bf9bd91a59717df38ec3ba7d65b1f441f32
tree5d212f2ef8bb86a3666dcc2c4d26cc65fdc4bdf3
parent28eed9f6cab6ab28cdca4a43df4f8ed51dd5f8f8
mtd: rawnand: qcom: fix return value for raw page read

Fix value returned by ->read_page_raw() to be the
actual operation status, instead of always 0.

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