diff options
| -rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 6e0de65f1f3a..3252945f3743 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
| @@ -731,7 +731,7 @@ static void /*__devinit*/ setup_fg_nodes(struct hda_codec *codec) | |||
| 731 | for (i = 0; i < total_nodes; i++, nid++) { | 731 | for (i = 0; i < total_nodes; i++, nid++) { |
| 732 | function_id = snd_hda_param_read(codec, nid, | 732 | function_id = snd_hda_param_read(codec, nid, |
| 733 | AC_PAR_FUNCTION_TYPE); | 733 | AC_PAR_FUNCTION_TYPE); |
| 734 | switch (function_id) { | 734 | switch (function_id & 0xff) { |
| 735 | case AC_GRP_AUDIO_FUNCTION: | 735 | case AC_GRP_AUDIO_FUNCTION: |
| 736 | codec->afg = nid; | 736 | codec->afg = nid; |
| 737 | codec->afg_function_id = function_id & 0xff; | 737 | codec->afg_function_id = function_id & 0xff; |
