mfd: da9052-spi: change read-mask to write-mask
Subsystems (2)
PATCH 1/1 mfd: da9052-spi: change read-mask to write-mask
Actually, the LSB bit is set on write rather than read. Change it to avoid nasty things to happen.
Signed-off-by Marcus Folkesson <[email protected]>
--- drivers/mfd/da9052-spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/da9052-spi.c +1 -1
@@ -37,7 +37,7 @@ static int da9052_spi_probe(struct spi_device *spi)spi_set_drvdata (spi, da9052); config = da9052_regmap_config; - config.read_flag_mask =1 ; + config.write_flag_mask =1 ; config.reg_bits =7 ; config.pad_bits =1 ; config.val_bits =8 ;
---
base-commit: 33cc938e65a98f1d29d0a18403dbbee050dcad9a
change-id: 20240918-da9052-df843a1b9d0e
Best regards,
Signature · 1 line
Marcus Folkesson <[email protected]>
Quoted 3 lines · Marcus Folkesson
Actually, the LSB bit is set on write rather than read. Change it to avoid nasty things to happen.
Fixes e9e9d3973594 ("mfd: da9052: Avoid setting read_flag_mask for da9052-i2c driver")
Quoted 1 line
Signed-off-by Marcus Folkesson <[email protected]>
Lee Jones
maintainerQuoted 5 lines · Marcus Folkesson
Quoted 3 lines · Marcus Folkesson
Actually, the LSB bit is set on write rather than read. Change it to avoid nasty things to happen.
Fixes e9e9d3973594 ("mfd: da9052: Avoid setting read_flag_mask for da9052-i2c driver")
Please resubmit the patch.
Quoted 1 line
Quoted 1 line
Signed-off-by Marcus Folkesson <[email protected]>
Signature · 1 line
Lee Jones [李琼斯]