summaryrefslogtreecommitdiff
path: root/rust/helpers/processor.c
diff options
context:
space:
mode:
authorGabor Juhos <j4g8y7@gmail.com>2025-08-10 16:38:51 +0200
committerMark Brown <broonie@kernel.org>2025-08-11 17:18:53 +0100
commit6b7e2aa50bdaf88cd4c2a5e2059a7bf32d85a8b1 (patch)
tree4d052961df97773b3edf6756971cbb8378931103 /rust/helpers/processor.c
parentfbec18dc9940a89e094bae890b8dc0af00ddc4ff (diff)
spi: spi-qpic-snand: remove 'clr*status' members of struct 'qpic_ecc'
In the qcom_spi_ecc_init_ctx_pipelined() function, the 'clrflashstatus' and the 'clrreadstatus' members of the ECC context gets initialized with constant values. Then these values are used by several functions to set the corresponding members in the register cache. Because the values are never modified, change the code to set the those directly in the register cache by the qcom_spi_ecc_init_ctx_pipelined() function, and remove the repetitive code from the other functions to reduce code duplication. Also, remove the respective members from the 'qpic_ecc' structure as those became unused due to the change. No functional changes intended. Signed-off-by: Gabor Juhos <j4g8y7@gmail.com> Link: https://patch.msgid.link/20250810-qpic-snand-qpic_ecc-cleanup-v1-2-33a6b2bcbc67@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions