diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2025-09-13 21:16:11 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-09-15 12:47:14 +0100 |
commit | 18dda9eb9e11b2aeec73cbe2a56ab2f862841ba4 (patch) | |
tree | 84a046ab816348c440adefd1926ad77de2802f67 /rust/helpers/processor.c | |
parent | 34c2202f5ca2325511a0e0b8802492eec17a2c76 (diff) |
spi: amlogic: Fix error checking on regmap_write call
Currently a call to regmap_write is not being error checked because the
return checke is being performed on the variable ret and this variable
is not assigned the return value from the regmap_write call. Fix this
by adding in the missing assignment.
Fixes: 4670db6f32e9 ("spi: amlogic: add driver for Amlogic SPI Flash Controller")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://patch.msgid.link/20250913201612.1338217-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions