ALSA: hda - add possibility to choose speakers configuration for 4930g
authorŁukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
Sun, 24 Jan 2010 13:12:37 +0000 (14:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Jan 2010 07:00:02 +0000 (08:00 +0100)
Now one can choose speaker configuration in e.g. PulseAudio mixer

Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index d00e6d1da085162eff93a8f2d267efda73f424f2..da34095c707fd7b19fb33156248fc6461a7090e0 100644 (file)
@@ -9478,6 +9478,7 @@ static struct alc_config_preset alc882_presets[] = {
                .num_channel_mode = ARRAY_SIZE(alc883_3ST_6ch_modes),
                .channel_mode = alc883_3ST_6ch_modes,
                .need_dac_fix = 1,
+               .const_channel_count = 6,
                .num_mux_defs =
                        ARRAY_SIZE(alc888_2_capture_sources),
                .input_mux = alc888_2_capture_sources,