Merge branch 'devel' of git.alsa-project.org:alsa-kernel into topic/misc

This commit is contained in:
Takashi Iwai 2010-07-27 10:16:04 +02:00
commit 7899f81fe4
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ static void /*__devinit*/ setup_fg_nodes(struct hda_codec *codec)
for (i = 0; i < total_nodes; i++, nid++) {
function_id = snd_hda_param_read(codec, nid,
AC_PAR_FUNCTION_TYPE);
switch (function_id) {
switch (function_id & 0xff) {
case AC_GRP_AUDIO_FUNCTION:
codec->afg = nid;
codec->afg_function_id = function_id & 0xff;