We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22c4ace commit cb617f4Copy full SHA for cb617f4
1 file changed
drivers/gpu/drm/apple/audio.c
@@ -449,6 +449,8 @@ static int dcpaud_create_chmap_ctl(struct dcp_audio *dcpaud)
449
450
ret = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, NULL,
451
dcp_pcm_hw.channels_max, 0, &chmap_info);
452
+ if (ret < 0)
453
+ return ret;
454
455
chmap_info->kctl->get = dcpaud_chmap_ctl_get;
456
chmap_info->chmap = hdmi_codec_8ch_chmaps;
0 commit comments