[PATCH] UBUNTU sound/pci/ac97/: Fix vt1617a build ops (ac97_patch.c)

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Fri Feb 2 05:48:57 UTC 2007


From 8d9cf71c028b726aaf1ef6ef88c23cbd6323e3e8 Mon Sep 17 00:00:00 2001
From: Daniel T. Chen <crimsun at garnish.localdomain>
Date: Fri, 2 Feb 2007 00:19:47 -0500
Subject: [PATCH] UBUNTU sound/pci/ac97/: Fix vt1617a build ops (ac97_patch.c)

Status: Committed in upstream alsa-kernel hg

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 at false.org>
Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>
---
 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 e813968..e4f28e3 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -2821,6 +2821,7 @@ int patch_vt1617a(struct snd_ac97 * ac97)
 	snd_ac97_write_cache(ac97, 0x5c, 0x20);
 	ac97->ext_id |= AC97_EI_SPDIF;	/* force the detection of spdif */
 	ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000;
+	ac97->build_ops = &patch_vt1616_ops;
 	return 0;
 }
 
-- 
1.4.4.2

-- 
Daniel T. Chen            crimsun at ubuntu.com
GPG key:  0xC88ABDA3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20070201/250e294d/attachment.sig>


More information about the kernel-team mailing list