Skip to contentSkip to conversation

ALSA: hda - Refer to macmini3 channel mode functions

PATCH In review Luke Yelavich 3 participants 3 messages Feb 23, 2010 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda - Refer to macmini3 channel mode functions

From: Luke Yelavich <[email protected]>

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.

---
 sound/pci/hda/patch_realtek.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
sound/pci/hda/patch_realtek.c +2 -2
index f8fb260..9e5ea9e 100644
@@ -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 },
 };
 
 
Signature · 1 line
1.7.0
#1 lore raw

Am Dienstag, den 23.02.2010, 16:25 +1100 schrieb Luke Yelavich:

Quoted 4 lines

From: Luke Yelavich <[email protected]>

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

While the functions are the same now, …

Quoted 4 lines

may change later. This also gets rid of compiler warnings about initialized, but unused functions.

Maybe you can send a v2 patch (see --subject-prefix in git help format-patch or edit manually) and CC the maintainers (for example --cc) [2] as documented in [1]. At least I was told so [3] and I think you patch will be taken care off earlier when doing so.

Thanks,

Paul

[1] http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=blob;f=Documentation/SubmittingPatches
[2] http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=blob;f=MAINTAINERS
[3] http://www.spinics.net/lists/alsa-devel/msg31371.html

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw

At Tue, 23 Feb 2010 11:34:31 +0100,

Quoted 8 lines · Paul Menzel

Am Dienstag, den 23.02.2010, 16:25 +1100 schrieb Luke Yelavich:

Quoted 4 lines

From: Luke Yelavich <[email protected]>

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

While the functions are the same now, …

Yeah, I already fixed it differently (rather a clean-up).

Quoted 9 lines
Quoted 4 lines

may change later. This also gets rid of compiler warnings about initialized, but unused functions.

Maybe you can send a v2 patch (see --subject-prefix in git help format-patch or edit manually) and CC the maintainers (for example --cc) [2] as documented in [1]. At least I was told so [3] and I think you patch will be taken care off earlier when doing so.

That's helpful indeed.

thanks,

Takashi

Quoted 12 lines

Thanks,

Paul

[1] http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=blob;f=Documentation/SubmittingPatches
[2] http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=blob;f=MAINTAINERS
[3] http://www.spinics.net/lists/alsa-devel/msg31371.html
[1.2 Dies ist ein digital signierter Nachrichtenteil <application/pgp-signature (7bit)>]

Quoted 5 lines

[2 <text/plain; us-ascii (7bit)>]
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel