mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
ASoC: codecs: rate limit error msg in hdmi codec
During bootup, hdmi mixer control get functions are called multiple times and if there is no active hdmi/dp connection, multiple non-fatal errors messages are logged. These non-fatal errors messages are triaged as fatal, to avoid this scenario rate limit the error message. Change-Id: Ie31382d1758fe3907597adda1eb78aae596a24c4 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:
parent
04a841333a
commit
7589be3605
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ static int msm_ext_disp_audio_type_get(struct snd_kcontrol *kcontrol,
|
|||
|
||||
if (!codec_data->ext_disp_ops.get_audio_edid_blk ||
|
||||
!codec_data->ext_disp_ops.get_intf_id || rc) {
|
||||
dev_err(component->dev, "%s: get_audio_edid_blk() or get_intf_id is NULL\n",
|
||||
dev_err_ratelimited(component->dev, "%s: get_audio_edid_blk() or get_intf_id is NULL\n",
|
||||
__func__);
|
||||
rc = -EINVAL;
|
||||
goto cable_err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue