Re: [PATCH] soundwire: bus: detect SDCA cascade on peripherals reporting class_id 0
From: Pierre-Louis Bossart
Date: Mon Nov 30 2026 - 09:31:17 EST
> The challenge is determining what we'd use as the condition. DP0_INT
> feeds both the nested-IRQ path and sdca_cascade handling, and SDCA
> peripherals don't all appear to consume interrupt information in the
> same way. I'm not sure we have a reliable existing indicator that would
> let us safely determine when a DP0_INT read can be skipped for all SDCA
> devices. Did you have something specific in mind?
What I had in mind is the presence of the 'interrupt-position' that tell
which bit is allocated to which SDCA control interrupt.
That said, now that I think of it, the Entity0 can provide
function-level interrupts for inits, firmware or status changes. That
could be used for an amplifier that never reports any alerts...
Let's go with your suggested change.
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxx>