Re: [PATCH] mux: suppress lookup errors for mux controls

From: Johan Hovold
Date: Tue Apr 15 2025 - 02:26:56 EST


On Mon, Apr 14, 2025 at 03:35:03PM +0100, Srinivas Kandagatla wrote:
> On 14/04/2025 15:01, Johan Hovold wrote:
> >> Srinivas Kandagatla is looking into optional muxes as a side issue to
> >> exclusive muxes.
> >> https://lore.kernel.org/all/20250326154613.3735-1-srinivas.kandagatla@xxxxxxxxxx/

> > The audio codec change introduces a de-facto regression so if you want
> > something different, we'll have to fix this in the codec driver directly
> > by checking for a "mux-controls" property before doing the lookup for
>
> This is not scalable solution, we need something in the core to allow
> optional mux like any other framworks.

Maybe, but that's not something that exists today and we should not
knowingly introduce bogus errors.

I'll suppress the error in the codec driver instead and you guys can
continue discussing how you want to rework the mux driver.

Johan