public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Support mute notifications for CS35L41 HDA
@ 2023-09-19 14:22 Stefan Binding
  2023-09-19 14:22 ` [PATCH v3 1/2] ALSA: hda: cs35l41: " Stefan Binding
  2023-09-19 14:22 ` [PATCH v3 2/2] ALSA: hda: cs35l41: Add read-only ALSA control for forced mute Stefan Binding
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Binding @ 2023-09-19 14:22 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: alsa-devel, linux-kernel, patches, Stefan Binding

Some systems use a special keyboard shortcut to mute speaker audio.
On systems using CS35L41 HDA which have this shortcut, add a
mechanism which uses ACPI notifications to determine when the
shortcut is pressed, and then mute the amps inside the driver.

Since this is not a normal mute mechanism, it does not go through
userspace. To allow userspace to be able to track this special
state, add an ALSA control which tracks the state of this forced
mute

Changes since v2:
- Fixed compile issue when CONFIG_ACPI is missing

Stefan Binding (1):
  ALSA: hda: cs35l41: Add read-only ALSA control for forced mute

Vitaly Rodionov (1):
  ALSA: hda: cs35l41: Support mute notifications for CS35L41 HDA

 sound/pci/hda/cs35l41_hda.c   | 132 ++++++++++++++++++++++++++++++----
 sound/pci/hda/cs35l41_hda.h   |   3 +
 sound/pci/hda/hda_component.h |   4 ++
 sound/pci/hda/patch_realtek.c |  85 +++++++++++++++++++++-
 4 files changed, 210 insertions(+), 14 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-20  6:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 14:22 [PATCH v3 0/2] Support mute notifications for CS35L41 HDA Stefan Binding
2023-09-19 14:22 ` [PATCH v3 1/2] ALSA: hda: cs35l41: " Stefan Binding
2023-09-19 18:18   ` kernel test robot
2023-09-20  6:58   ` Takashi Iwai
2023-09-19 14:22 ` [PATCH v3 2/2] ALSA: hda: cs35l41: Add read-only ALSA control for forced mute Stefan Binding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox