summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2015-10-29 15:22:06 -0400
committerTakashi Iwai <tiwai@suse.de>2015-10-30 07:33:08 -0400
commiteed273b785c531ced49adca87efcee2d96bdb2ef (patch)
treecaa0bdb6f298391dd1456123a43ff7f7ce1548af /sound
parenta5804dc7cf986cc99689ef54e577f9efb4f1c455 (diff)
ALSA: cs46xx: Fix Duplicate front for CS4294 and CS4298 codecs
Currently, the Duplicate front control is enabled only for two specific revisions of CS4294. Enable it for all CS4294 and CS4298 codecs instead. This fixes rear output on my VC-4620N sound card (CS4620 + CS4298 rev.5). Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/cs46xx/cs46xx_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c
index 2a9f4a345171..e62c8416ddfd 100644
--- a/sound/pci/cs46xx/cs46xx_lib.c
+++ b/sound/pci/cs46xx/cs46xx_lib.c
@@ -2528,7 +2528,7 @@ int snd_cs46xx_mixer(struct snd_cs46xx *chip, int spdif_device)
2528#ifdef CONFIG_SND_CS46XX_NEW_DSP 2528#ifdef CONFIG_SND_CS46XX_NEW_DSP
2529 if (chip->nr_ac97_codecs == 1) { 2529 if (chip->nr_ac97_codecs == 1) {
2530 unsigned int id2 = chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]->id & 0xffff; 2530 unsigned int id2 = chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]->id & 0xffff;
2531 if (id2 == 0x592b || id2 == 0x592d) { 2531 if ((id2 & 0xfff0) == 0x5920) { /* CS4294 and CS4298 */
2532 err = snd_ctl_add(card, snd_ctl_new1(&snd_cs46xx_front_dup_ctl, chip)); 2532 err = snd_ctl_add(card, snd_ctl_new1(&snd_cs46xx_front_dup_ctl, chip));
2533 if (err < 0) 2533 if (err < 0)
2534 return err; 2534 return err;