Re: [PATCH] i2c: ocores: delete adapter before disabling controller

From: Andrew Lunn

Date: Sun Nov 01 2026 - 10:42:49 EST


On Sat, Oct 31, 2026 at 11:32:40AM +0800, Matthias Goergens wrote:
> i2c_del_adapter() unregisters child devices, and their removal
> callbacks may perform I2C. Delete the adapter before disabling the
> controller so those transactions still work.
>
> Found by Sashiko AI review.
>
> Link: https://sashiko.dev/#/patchset/20260813153155.3953577-1-ruoyuw560@xxxxxxxxx

Please take a read of:

https://docs.kernel.org/process/submitting-patches.html

This patch needs a Signed-off-by:

Andrew