diff options
| author | Gabor Juhos <j4g8y7@gmail.com> | 2026-09-28 09:01:53 +0200 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-10-12 20:18:03 +0200 |
| commit | 94623942a66e031826756f9c92dbde9a12e2b4d2 (patch) | |
| tree | b5311e1d21fc196f5a8e287227a00a5b0aff55a9 /scripts/Makefile.thinlto | |
| parent | cfae2182fa7b0f0e3caee02fa6acf5dc77410efc (diff) | |
| download | linux-94623942a66e031826756f9c92dbde9a12e2b4d2.tar.gz linux-94623942a66e031826756f9c92dbde9a12e2b4d2.zip | |
mtd: rawnand: qcom: fix read location register usage in config_nand_cw_read()
On QPIC v2 controllers, when the last codeword is being read, the read
location values must be programmed into the READ_LOCATION_LAST_CW_*
registers. Prior to commit 8c52932da5e6 ("mtd: rawnand: qcom: cleanup
qcom_nandc driver"), the config_nand_cw_read() function did it right,
but since then it always writes the read location values to the
READ_LOCATION_* registers even if the actual codeword is the last one.
Change the function to always configure the registers corresponding to
the actual codeword to restore the correct behaviour.
Cc: stable@vger.kernel.org
Fixes: 8c52932da5e6 ("mtd: rawnand: qcom: cleanup qcom_nandc driver")
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
