Merge "asoc: hdmi: return 0 when get_audio_edid_blk is NULL"

This commit is contained in:
qctecmdr 2019-09-20 00:32:35 -07:00 • committed by Gerrit - the friendly Code Review server
commit a134afc4f5

View file

@ -100,7 +100,7 @@ static int msm_ext_disp_edid_ctl_info(struct snd_kcontrol *kcontrol,
uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES;
uinfo->count = 0;
mutex_unlock(&codec_data->dp_ops_lock);
return -EINVAL;
return 0;
}
rc = codec_data->ext_disp_ops.get_audio_edid_blk(