Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd7643bf authored by Jaroslav Kysela's avatar Jaroslav Kysela
Browse files

ALSA: hda-intel - fix function_id rework (add missing bitmask)



Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 9e216e8a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;