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

Commit ec4e86ba authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix PCM type of Nvidia HDMI devices



Added the missing PCM type for Nvidia HDMI devices so that they point
the right device number.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 80ffe869
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -116,6 +116,7 @@ static int nvhdmi_build_pcms(struct hda_codec *codec)
	codec->pcm_info = info;
	codec->pcm_info = info;


	info->name = "NVIDIA HDMI";
	info->name = "NVIDIA HDMI";
	info->pcm_type = HDA_PCM_TYPE_HDMI;
	info->stream[SNDRV_PCM_STREAM_PLAYBACK] = nvhdmi_pcm_digital_playback;
	info->stream[SNDRV_PCM_STREAM_PLAYBACK] = nvhdmi_pcm_digital_playback;


	return 0;
	return 0;