[alsa-devel] [PATCH] ALSA: hda - Refer to macmini3 channel mode functions

Luke Yelavich themuso at ubuntu.com
Tue Feb 23 06:25:58 CET 2010


From: Luke Yelavich <luke.yelavich at canonical.com>

Refer to alc885_macmini3_{2,6}ch_mode_init functions instead of those for the
mb5 model quirk. While they are the functino contents are the same now, things
may change later. This also gets rid of compiler warnings about initialized,
but unused functions.

Signed-off-by: Luke Yelavich <luke.yelavich at canonical.com>
---
 sound/pci/hda/patch_realtek.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index f8fb260..9e5ea9e 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7033,8 +7033,8 @@ static struct hda_verb alc885_macmini3_ch6_init[] = {
 };
 
 static struct hda_channel_mode alc885_macmini3_6ch_modes[2] = {
-	{ 2, alc885_mb5_ch2_init },
-	{ 6, alc885_mb5_ch6_init },
+	{ 2, alc885_macmini3_ch2_init },
+	{ 6, alc885_macmini3_ch6_init },
 };
 
 
-- 
1.7.0



More information about the Alsa-devel mailing list