ALSA: hda - Use generic parser for Cirrus codec driver

This time, the target is Cirrus codec.  Its parser is a subset of
generic parser, so we can migrate fully with it now.

The only tricky part is the handling of SPDIF automute.
Cirrus driver sets the SPDIF out plug over the headphone.  As a
workaround, set spec->gen.master_mute for toggling the headphone (and
other) mute.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2012-12-19 16:39:18 +01:00
Родитель 8fadf1da3f
Коммит 1077a02481
2 изменённых файлов: 103 добавлений и 1193 удалений

Просмотреть файл

@ -149,6 +149,7 @@ config SND_HDA_CODEC_HDMI
config SND_HDA_CODEC_CIRRUS
bool "Build Cirrus Logic codec support"
default y
select SND_HDA_GENERIC
help
Say Y here to include Cirrus Logic codec support in
snd-hda-intel driver, such as CS4206.

Разница между файлами не показана из-за своего большого размера Загрузить разницу