]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoc: simple-mux: add idle-state support
authorHendrik v. Raven <h.v.raven@merzmedtech.de>
Thu, 14 Nov 2024 11:01:25 +0000 (12:01 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 14 Nov 2024 11:39:22 +0000 (11:39 +0000)
commit2b974284aa073d6e2936f9032e8ad7b99480b5b8
tree07959ba9ae69c373cca2e0ebbc99f09383971310
parent2d5404caa8c7bb5c4e0435f94b28834ae5456623
ASoc: simple-mux: add idle-state support

So far the mux changes it state immediately, even when not in use. Allow
overriding this behaviour by specifying an optional idle-state. This
state is used whenever the mux is powered down, only switching to the
selected state on power up. If unspecified it defaults to as-is,
maintaining the previous behaviour.

Signed-off-by: Hendrik v. Raven <h.v.raven@merzmedtech.de>
Link: https://patch.msgid.link/20241114-simple-mux-idle-state-v2-1-a30cb37d2be2@merzmedtech.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/simple-mux.c