From: Maciej Strozek <mstrozek@opensource.cirrus.com>
To: <perex@perex.cz>
Cc: <alsa-devel@alsa-project.org>, <patches@opensource.cirrus.com>,
"Maciej Strozek" <mstrozek@opensource.cirrus.com>
Subject: [PATCH alsa-ucm-conf 2/2] sof-soundwire: Add sequence for controlling Mic Mute LED
Date: Mon, 30 Sep 2024 14:41:18 +0100 [thread overview]
Message-ID: <20240930134118.2640509-2-mstrozek@opensource.cirrus.com> (raw)
In-Reply-To: <20240930134118.2640509-1-mstrozek@opensource.cirrus.com>
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
---
ucm2/codecs/cs42l43/init.conf | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/ucm2/codecs/cs42l43/init.conf b/ucm2/codecs/cs42l43/init.conf
index cf61833..fad41dd 100644
--- a/ucm2/codecs/cs42l43/init.conf
+++ b/ucm2/codecs/cs42l43/init.conf
@@ -12,3 +12,9 @@ LibraryConfig.remap.Config {
}
}
}
+
+FixedBootSequence [
+ exec "-/sbin/modprobe snd_ctl_led"
+ sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:cs42l43 Decimator 3 Switch"
+ sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:cs42l43 Decimator 4 Switch"
+]
--
2.39.5
next prev parent reply other threads:[~2024-09-30 13:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-30 13:41 [PATCH alsa-ucm-conf 1/2] sof-soundwire: Change mapped control names to make them unique Maciej Strozek
2024-09-30 13:41 ` Maciej Strozek [this message]
2024-10-01 10:21 ` [PATCH alsa-ucm-conf 2/2] sof-soundwire: Add sequence for controlling Mic Mute LED Charles Keepax
2024-10-01 10:21 ` [PATCH alsa-ucm-conf 1/2] sof-soundwire: Change mapped control names to make them unique Charles Keepax
2024-10-01 10:38 ` Jaroslav Kysela
2024-10-01 10:51 ` Maciej Strozek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240930134118.2640509-2-mstrozek@opensource.cirrus.com \
--to=mstrozek@opensource.cirrus.com \
--cc=alsa-devel@alsa-project.org \
--cc=patches@opensource.cirrus.com \
--cc=perex@perex.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox