mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
asoc: hdmi: return 0 when get_audio_edid_blk is NULL
when get_audio_edid_blk is NULL, msm_ext_disp_edid_ctl_info returns error value. And it would cause tinymix doesn't have full mix cmd list. Return 0 instead to avoid such issue. Change-Id: Ic13067483b373fa4a81b663ece3d3e4a18ea8a87 Signed-off-by: Meng Wang <mengw@codeaurora.org>
This commit is contained in:
parent
47673f2f83
commit
b5cf458326
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue