Re: [PATCH] i2c: microchip-corei2c: remove clients before disabling clock
From: Andi Shyti
Date: Wed Dec 02 2026 - 10:33:47 EST
Hi Jiawen,
On Sun, Nov 29, 2026 at 04:49:59PM +0400, Jiawen Liu wrote:
> mchp_corei2c_remove() disables the controller clock before removing the
> adapter. Adapter deletion synchronously invokes bound client remove
> callbacks, and those callbacks can issue transfers through their existing
> client handle.
>
> Keep the controller clock enabled while clients are removed, and disable
> it after client teardown has completed.
>
> Fixes: 64a6f1c4987e ("i2c: add support for microchip fpga i2c controllers")
> Signed-off-by: Jiawen Liu <1298662399@xxxxxx>
Please, group your similar patches in a series. I'm taking this
one only because Conor has spent some time to review it.
Andi