summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorGabor Juhos <j4g8y7@gmail.com>2026-09-22 19:50:57 +0200
committerMark Brown <broonie@kernel.org>2026-09-28 19:28:01 +0100
commitf3c0a2b557ea87cbd802b278783c32484a063ded (patch)
treeca59f5e2106a8aa1dae6f938805f984c6f97e880 /scripts/Makefile.thinlto
parent8db44cca03df066186d6220bfad9fa482d7cdc13 (diff)
downloadlinux-f3c0a2b557ea87cbd802b278783c32484a063ded.tar.gz
linux-f3c0a2b557ea87cbd802b278783c32484a063ded.zip
spi: spi-qpic-snand: fix read location register usage in qcom_spi_config_cw_read()
While configuring a codeword read, the com_spi_config_cw_read() function unconditionally schedules writing of the regular read location registers. However these registers should be written only if the actual codeword is not the last one. Change the function to schedule writing of the registers corresponding to the acual codeword only. While at it, also drop the single-use 'reg' and 'num_cw' local variables and use the respective values directly in order to make the code easier to understand. Fixes: 7304d1909080 ("spi: spi-qpic: add driver for QCOM SPI NAND flash Interface") Signed-off-by: Gabor Juhos <j4g8y7@gmail.com> Link: https://patch.msgid.link/20260922-qpic-snand-fix-cw_read-readloc-v1-1-67f6819fb3d7@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions