Quellcode durchsuchen

Merge "ASoC: msm: remove unnecessary error log in audio kernel"

Linux Build Service Account vor 6 Jahren
Ursprung
Commit
a00e61e272
2 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 4 1
      asoc/msm-pcm-q6-v2.c
  2. 1 1
      dsp/q6afe.c

+ 4 - 1
asoc/msm-pcm-q6-v2.c

@@ -704,7 +704,10 @@ static int msm_pcm_open(struct snd_pcm_substream *substream)
 	prtd->set_channel_map = false;
 	prtd->reset_event = false;
 	runtime->private_data = prtd;
-	msm_adsp_init_mixer_ctl_pp_event_queue(soc_prtd);
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
+		msm_adsp_init_mixer_ctl_pp_event_queue(soc_prtd);
+
 	/* Vote to update the Rx thread priority to RT Thread for playback */
 	if ((substream->stream == SNDRV_PCM_STREAM_PLAYBACK) &&
 	    (pdata->perf_mode == LOW_LATENCY_PCM_MODE))

+ 1 - 1
dsp/q6afe.c

@@ -2292,7 +2292,7 @@ static struct cal_block_data *afe_find_cal(int cal_index, int port_id)
 			goto exit;
 		}
 	}
-	pr_err("%s: no matching cal_block found\n", __func__);
+	pr_debug("%s: no matching cal_block found\n", __func__);
 	cal_block = NULL;
 
 exit: