diff options
author | Jens Hillenstedt <[email protected]> | 2022-09-15 11:20:04 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2022-09-28 16:17:41 +0100 |
commit | 834382ea32865a4bdeae83ec2dcb9321dc9489f2 (patch) | |
tree | e34f678cffa72def6bcf8cc64616a27ca7d712b8 /lib/string_helpers.c | |
parent | 9c90f21f93e4b9c8c9a799ca7c09b1323b9fca11 (diff) |
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 <[email protected]>
Reviewed-by: Adam Ward <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions