[PATCH 1/1] i2c: imx: Make SDA actually optional for bus recovering

Andi Shyti andi.shyti at kernel.org
Sun Dec 3 14:04:44 PST 2023


Hi,

On Thu, Nov 30, 2023 at 10:57:51AM +0100, Alexander Stein wrote:
> Both i2c_generic_scl_recovery() and the debug output indicate that SDA is
> purely optional for bus recovery. But devm_gpiod_get() never returns NULL
> making it mandatory. Fix this my calling devm_gpiod_get_optional instead.
                               ^^^^
as Uwe pointed out, /my/by/.

I think Wolfram can fix this before taking it.

> Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>

otherwise:

Reviewed-by: Andi Shyti <andi.shyti at kernel.org>

Andi



More information about the linux-arm-kernel mailing list