summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJohan Alvarado <contact@c127.dev>2026-09-11 13:44:16 -0500
committerMark Brown <broonie@kernel.org>2026-09-17 16:24:29 +0100
commit8d691164547832f43289a7d5f3450738ead98c2d (patch)
tree40213a8909ab7e652cec20487fe2483fa1f4d325 /tools/perf/scripts/python/bin
parentf94c9b68bb5fdbef9f841da493d5305ff634ebb5 (diff)
spi: spi-qpic-snand: drop the redundant ECC context handling
qcom_spi_ecc_init_ctx_pipelined() now publishes the ECC context to snandc->qspi->ecc, so the assignment in qcom_spi_ecc_prepare_io_req_pipelined() repeats what the pointer already holds, and the zeroed struct qpic_ecc that qcom_spi_probe() allocates is never read. The pointer is non-NULL only between context creation and destruction, and every reader runs inside that window. The ooblayout callbacks are installed by init_ctx. The page read, write and program helpers run only when prepare_io_req has set page_rw or oob_rw. qcom_spi_block_erase() runs only while the mtd is registered, which happens after init_ctx and ends before cleanup_ctx. The controller drives a single chip select, so the per-controller pointer and the per-chip context cannot disagree. Remove both. No functional change. Suggested-by: Gabor Juhos <j4g8y7@gmail.com> Signed-off-by: Johan Alvarado <contact@c127.dev> Tested-by: Gabor Juhos <j4g8y7@gmail.com> Link: https://patch.msgid.link/20260911184416.109790-3-contact@c127.dev Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions