projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28eed9f
)
mtd: rawnand: qcom: fix return value for raw page read
author
Abhishek Sahu
<absahu@codeaurora.org>
Wed, 20 Jun 2018 07:27:38 +0000
(12:57 +0530)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:24:09 +0000
(09:24 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/raw/qcom_nandc.c
b/drivers/mtd/nand/raw/qcom_nandc.c
index
28361b5
..
887b1f6
100644
(file)
--- a/
drivers/mtd/nand/raw/qcom_nandc.c
+++ b/
drivers/mtd/nand/raw/qcom_nandc.c
@@
-1898,7
+1898,7
@@
static int qcom_nandc_read_page_raw(struct mtd_info *mtd,
free_descs(nandc);
- return
0
;
+ return
ret
;
}
/* implements ecc->read_oob() */