Re: [PATCH] i2c: ali15x3: Fix an error handling path in ali15x3_probe()

From: Andi Shyti
Date: Tue Mar 11 2025 - 19:07:38 EST


Hi Christophe,

On Mon, Mar 03, 2025 at 08:58:06PM +0100, Christophe JAILLET wrote:
> If i2c_add_adapter() fails, the request_region() call in ali15x3_setup()
> must be undone by a corresponding release_region() call, as done in the
> remove function.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

merged to i2c/i2c-host-fixes.

Thanks,
Andi