ALSA: hda: cs35l41: Add notification support into component binding
authorStefan Binding <sbinding@opensource.cirrus.com>
Thu, 21 Sep 2023 16:28:46 +0000 (17:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Sep 2023 08:47:47 +0000 (10:47 +0200)
commit502629a75566b5cb409c118125d38102e5edc8f6
tree8bf6529c42464fb48fa4eabc30dbeeda855a7ffb
parent72f6a13022f3bf16df305b75c32f95ece263a5ce
ALSA: hda: cs35l41: Add notification support into component binding

Some systems support a notification from ACPI, which can be used
for different things.

Only one handler can be registered for the acpi notification, but all
amps need to receive that notification, we can register a single handler
inside the component master, so that it can then notify through the
component framework.

This is required to support mute notifications from ACPI.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230921162849.1988124-2-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_component.h