lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 28 Sep 2022 11:38:47 +0100
From:   Lee Jones <lee@...nel.org>
To:     Jens Hillenstedt <jens.hillenstedt@....de>
Cc:     support.opensource@...semi.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: da9061: Fix Failed to set Two-Wire Bus Mode.

On Thu, 15 Sep 2022, Jens Hillenstedt wrote:

> 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@....de>
> ---
>  drivers/mfd/da9062-core.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

-- 
Lee Jones [李琼斯]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ