ALSA: hda/cs8409: Support manual mode detection for CS42L42
authorStefan Binding <sbinding@opensource.cirrus.com>
Wed, 4 May 2022 16:12:36 +0000 (17:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 May 2022 08:46:14 +0000 (10:46 +0200)
commitec6a8aaafbc5b0467b7554b6e61a93d91fceb613
tree7a63f751126bd079b89a375a928e2fccdb2f3067
parent9cd827381310e9947ea0ed7fb69b6491419549f2
ALSA: hda/cs8409: Support manual mode detection for CS42L42

For Jack detection on CS42L42, detection is normally done using
"auto" mode, which automatically detects what type of jack is
connected to the device. However, some headsets are not
automatically detected, and as such and alternative detection
method "manual mode" can be used to detect these headsets.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Tested-by: Chris Chiu <chris.chiu@canonical.com>
Link: https://lore.kernel.org/r/20220504161236.2490532-4-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cs8409-tables.c
sound/pci/hda/patch_cs8409.c
sound/pci/hda/patch_cs8409.h