diff options
author | Jens Hillenstedt <jens.hillenstedt@ise.de> | 2022-09-15 11:20:04 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-09-28 17:17:41 +0200 |
commit | 834382ea32865a4bdeae83ec2dcb9321dc9489f2 (patch) | |
tree | e34f678cffa72def6bcf8cc64616a27ca7d712b8 /tools | |
parent | mfd: htc-i2cpld: Fix an IS_ERR() vs NULL bug in htcpld_core_probe() (diff) | |
download | linux-834382ea32865a4bdeae83ec2dcb9321dc9489f2.tar.xz linux-834382ea32865a4bdeae83ec2dcb9321dc9489f2.zip |
mfd: da9061: Fix Failed to set Two-Wire Bus Mode.
In da9062_i2c_probe() regmap_clear_bits() tries to access CONFIG_J
register. As CONFIG_J is not present in da9061_aa_writeable_ranges[] probe
of da9061 fails:
da9062 2-0058: Entering I2C mode!
da9062 2-0058: Failed to set Two-Wire Bus Mode.
da9062: probe of 2-0058 failed with error -5
Add CONFIG_J register to da9061_aa_writeable_ranges[].
Fixes: 5c6f0f456351 ("mfd: da9062: Support SMBus and I2C mode")
Signed-off-by: Jens Hillenstedt <jens.hillenstedt@ise.de>
Reviewed-by: Adam Ward <DLG-Adam.Ward.opensource@dm.renesas.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220915092004.168744-1-jens.hillenstedt@ise.de
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions