Re: [PATCH] i2c: at91: Restore pinctrl state if can't get scl/sda gpios

From: Wolfram Sang
Date: Fri May 15 2020 - 05:26:37 EST


On Wed, May 13, 2020 at 02:13:22PM +0300, Codrin Ciubotariu wrote:
> If there is a strict pinmux or if simply the scl/sda gpios are missing,
> the pins will remain in gpio mode, compromizing the I2C bus.
> Change to the default state of the pins before returning the error.
>
> Fixes: a53acc7ebf27 ("i2c: at91: Fix pinmux after devm_gpiod_get() for bus recovery")
> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@xxxxxxxxxxxxx>

I squashed it into the other patch and applied it to for-current,
thanks!

Attachment: signature.asc
Description: PGP signature