ALSA: hda/cs8409: Add Speaker Playback Switch for Warlock
authorStefan Binding <sbinding@opensource.cirrus.com>
Wed, 11 May 2022 10:02:07 +0000 (11:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 12 May 2022 09:52:36 +0000 (11:52 +0200)
commit6e7cf6702c6a6338b2116aae236cf3c9e1c07855
treeca144829f6bc895bdc5ff68b0bf33c3c4ede4c9b
parentf129f26f76959fb09784c1d2d959a7c1d05201a3
ALSA: hda/cs8409: Add Speaker Playback Switch for Warlock

Add support for a Speaker Playback Switch, which disables
the Amp connected to cs8409. The Switch is not added
automatically because cs8409 does not have an output amp
for the speaker NID.

Note: This switch uses a different GPIO to Cyborg/Odin variants

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