From: Takashi Iwai Date: Fri, 24 Jun 2011 09:03:58 +0000 (+0200) Subject: ALSA: hda - Clean up multi-channel mixer name assignment in patch_realtek.c X-Git-Tag: v3.1-rc1~271^2^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6843ca16f5e381ae80fc563931f8c74bda9fa29a;p=pandora-kernel.git ALSA: hda - Clean up multi-channel mixer name assignment in patch_realtek.c Change alc_get_line_out_pfx() in patch_realtek.c to provide the channel specific name and assign the index so that each caller doesn't have to set the channel name by itself. Also, check the multi-io case with the primary hp-out; for the multi-io channels, assign the channel name instead of "Headphone" with indices. This makes the mixer names more intuitive and reduces confusion. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed