mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
28eed9f6ca
commit
783b5bf9bd
|
@ -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() */
|
||||
|
|
Loading…
Reference in New Issue