[PATCH 1/1] i2c: imx: Make SDA actually optional for bus recovering
Alexander Stein
alexander.stein at ew.tq-group.com
Mon Dec 4 00:35:00 PST 2023
Hi,
Am Sonntag, 3. Dezember 2023, 23:04:44 CET schrieb Andi Shyti:
> 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>
Thanks. Let me know if I should send a v2.
Best regards,
Alexander
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
More information about the linux-arm-kernel
mailing list