Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d17147b authored by Deru Wang's avatar Deru Wang
Browse files

asoc: msm: change the ifdef for early chime marker



CONFIG_MSM_BOOT_TIME_MARKER has been removed. So 
switch to use CONFIG_MSM_BOOT_STATS to print boot
marker for audio.

Change-Id: I977ceecce7e06706d34acbab3d9b9b0a24abde58
Signed-off-by: default avatarDeru Wang <deruwang@codeaurora.org>
parent 2b79066d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
#include <dsp/q6audio-v2.h>
#include <dsp/q6core.h>
#include <dsp/q6asm-v2.h>
#ifdef CONFIG_MSM_BOOT_TIME_MARKER
#ifdef CONFIG_MSM_BOOT_STATS
#include <soc/qcom/boot_stats.h>
#endif

@@ -699,7 +699,7 @@ static int msm_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
	case SNDRV_PCM_TRIGGER_RESUME:
	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
		if (first_time) {
#ifdef CONFIG_MSM_BOOT_TIME_MARKER
#ifdef CONFIG_MSM_BOOT_STATS
			place_marker("K - Early chime");
#endif
			first_time = 0;