mbox series

[v2,0/2] Support mute notifications for CS35L41 HDA

Message ID 20230908133421.2483508-1-sbinding@opensource.cirrus.com (mailing list archive)
Headers show
Series Support mute notifications for CS35L41 HDA | expand

Message

Stefan Binding Sept. 8, 2023, 1:34 p.m. UTC
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

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 |  57 ++++++++++++++-
 4 files changed, 182 insertions(+), 14 deletions(-)

Comments

Takashi Iwai Sept. 18, 2023, 4:04 p.m. UTC | #1
On Fri, 08 Sep 2023 15:34:19 +0200,
Stefan Binding wrote:
> 
> 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
> 
> 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

JFYI, I didn't take those patches due to the errors 0-day bot showed.
Please resubmit the fixed patch set.


thanks,

Takashi