diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-01-12 13:11:47 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 03:03:02 -0500 |
commit | 9f428175a5e486b7142d3217c20481e003f3c275 (patch) | |
tree | 34bee20937546763c322dc5541ce73d22e02b73d /sound/pci | |
parent | 687a47bd829e040094cbc103126d5f03d46fd2bb (diff) |
[ALSA] ac97 - Fix vt1617a build ops
This patch connects the extra vt1616 controls for the vt1617a, which
is necessary to control the rear speakers on e.g. a Shuttle SN25P.
Signed-off-by: Daniel Jacobowitz <drow@false.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/ac97/ac97_patch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index f5b4b44bbdab..f1950fa1f0ef 100644 --- a/sound/pci/ac97/ac97_patch.c +++ b/sound/pci/ac97/ac97_patch.c | |||
@@ -3285,6 +3285,7 @@ int patch_vt1617a(struct snd_ac97 * ac97) | |||
3285 | snd_ac97_write_cache(ac97, 0x5c, 0x20); | 3285 | snd_ac97_write_cache(ac97, 0x5c, 0x20); |
3286 | ac97->ext_id |= AC97_EI_SPDIF; /* force the detection of spdif */ | 3286 | ac97->ext_id |= AC97_EI_SPDIF; /* force the detection of spdif */ |
3287 | ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000; | 3287 | ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000; |
3288 | ac97->build_ops = &patch_vt1616_ops; | ||
3288 | return 0; | 3289 | return 0; |
3289 | } | 3290 | } |
3290 | 3291 | ||