summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorGabor Juhos <j4g8y7@gmail.com>2025-07-23 11:06:43 +0300
committerMark Brown <broonie@kernel.org>2025-07-23 15:04:03 +0300
commitf820034864dd463cdcd2bebe7940f2eca0eb4223 (patch)
treeace4cb6af172576a43528394b528c064e93906d4 /lib/crypto/mpi/mpiutil.c
parent710505212e3272396394f8cf78e3ddfd05df3f22 (diff)
downloadlinux-f820034864dd463cdcd2bebe7940f2eca0eb4223.tar.xz
spi: spi-qpic-snand: don't hardcode ECC steps
NAND devices with different page sizes requires different number of ECC steps, yet the qcom_spi_ecc_init_ctx_pipelined() function sets 4 steps in 'ecc_cfg' unconditionally. The correct number of the steps is calculated earlier in the function already, so use that instead of the hardcoded value. 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/20250723-qpic-snand-fix-steps-v1-1-d800695dde4c@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions