Re: [PATCH v6 5/7] i2c: omap: switch to new generic helper for getting selected mux-state

From: Andreas Kemnade

Date: Wed Jan 21 2026 - 06:17:39 EST


On Wed, 21 Jan 2026 11:20:42 +0200
Josua Mayer <josua@xxxxxxxxxxxxx> wrote:

> Multiplexer subsystem has added generic helper functions for getting an
> already selected mux-state object.
>
> Replace existing logic in probe with the equivalent helper function.
>
> There is a functional difference in that the mux is now automatically
> deselected on release, replacing the explicit mux_state_deselect call.
>
> This change is only compile-tested.
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> Signed-off-by: Josua Mayer <josua@xxxxxxxxxxxxx>

Reviewed-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>