[PATCH v2 0/2] ASoc: simple-mux: Allow to specify an idle-state

From: Hendrik v. Raven
Date: Thu Nov 14 2024 - 06:31:05 EST


This series adds support for the idle-state property from the mux
framework to the simple-mux audio variant. It allows to specify the state
of the mux when it is not in use.

Signed-off-by: Hendrik v. Raven <h.v.raven@xxxxxxxxxxxxxx>
---
Changes in v2:
- Fix nullpointer dereference in simple_mux_event by accessing component
from w->dapm instead of kcontrol.
- Link to v1: https://lore.kernel.org/r/20241114-simple-mux-idle-state-v1-0-0b082dd6549b@xxxxxxxxxxxxxx

---
Hendrik v. Raven (2):
ASoc: simple-mux: add idle-state support
ASoC: dt-bindings: simple-mux: add idle-state property

.../bindings/sound/simple-audio-mux.yaml | 5 +++
sound/soc/codecs/simple-mux.c | 39 +++++++++++++++++++++-
2 files changed, 43 insertions(+), 1 deletion(-)
---
base-commit: 2d5404caa8c7bb5c4e0435f94b28834ae5456623
change-id: 20241114-simple-mux-idle-state-08dd2d49e312

Best regards,
--
Hendrik v. Raven <h.v.raven@xxxxxxxxxxxxxx>