Skip to content

Commit 78920e8

Browse files
singalsuaescolar
authored andcommitted
Drivers: DAI: Intel: Reduce traces dai_dmic_start()
This patch removes the traces printed inside spinlock protected code. The DMIC capture start code is timing critical. Traces leave an unknown delay into start sequence, so it's better to not produce them. Signed-off-by: Seppo Ingalsuo <[email protected]>
1 parent 9db5803 commit 78920e8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/dai/intel/dmic/dmic.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,6 @@ static void dai_dmic_start(struct dai_intel_dmic *dmic)
553553

554554
/* enable port */
555555
key = k_spin_lock(&dmic->lock);
556-
LOG_DBG("dmic_start(), dai_index = %d", dmic->dai_config_params.dai_index);
557556
dmic->startcount = 0;
558557

559558
/* Compute unmute ramp gain update coefficient. */
@@ -570,15 +569,11 @@ static void dai_dmic_start(struct dai_intel_dmic *dmic)
570569
#ifdef CONFIG_SOC_SERIES_INTEL_ADSP_ACE
571570
dai_dmic_update_bits(dmic, dmic_base[i] + CIC_CONTROL,
572571
CIC_CONTROL_SOFT_RESET, 0);
573-
574-
LOG_INF("dmic_start(), cic 0x%08x",
575-
dai_dmic_read(dmic, dmic_base[i] + CIC_CONTROL));
576572
#endif
577573

578574
mic_a = dmic->enable[i] & 1;
579575
mic_b = (dmic->enable[i] & 2) >> 1;
580576
start_fir = dmic->enable[i] > 0;
581-
LOG_INF("dmic_start(), pdm%d mic_a = %u, mic_b = %u", i, mic_a, mic_b);
582577

583578
/* If both microphones are needed start them simultaneously
584579
* to start them in sync. The reset may be cleared for another

0 commit comments

Comments
 (0)