[PATCH V6] mtd: rawnand: qcom: Update code word value for raw read

Miquel Raynal miquel.raynal at bootlin.com
Tue Sep 14 10:37:32 PDT 2021


On Tue, 2021-09-07 at 07:05:57 UTC, Md Sadre Alam wrote:
> From QPIC V2 onwards there is a separate register to read
> last code word "QPIC_NAND_READ_LOCATION_LAST_CW_n".
> 
> qcom_nandc_read_cw_raw() is used to read only one code word
> at a time. If we will configure number of code words to 1 in
> in QPIC_NAND_DEV0_CFG0 register then QPIC controller thinks
> its reading the last code word, since from QPIC V2 onwards
> we are having separate register to read the last code word,
> we have to configure "QPIC_NAND_READ_LOCATION_LAST_CW_n"
> register to fetch data from controller buffer to system
> memory.
> 
> Fixes: 503ee5aad430 ("mtd: rawnand: qcom: update last code word register")
> Cc: stable at kernel.org
> Signed-off-by: Md Sadre Alam <mdalam at codeaurora.org>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.

Miquel



More information about the linux-mtd mailing list