mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
kernel: add place_marker for sound card register
Add place_marker to monitor and record key events and measure the duration Change-Id: I1a96ffff283f61fcdddffdfa9f0f0132091b9fd8 Signed-off-by: Sitong Chen <quic_sitochen@quicinc.com>
This commit is contained in:
parent
86f3ddf9cf
commit
c9ab2aa2d5
1 changed files with 4 additions and 0 deletions
4
asoc/gvm_auto_spf_dummy.c
Normal file → Executable file
4
asoc/gvm_auto_spf_dummy.c
Normal file → Executable file
|
|
@ -1,4 +1,5 @@
|
|||
/* Copyright (c) 2014-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
|
@ -31,6 +32,7 @@
|
|||
#include "msm_dailink.h"
|
||||
#include <soc/qcom/subsystem_restart.h>
|
||||
#include <soc/qcom/subsystem_notif.h>
|
||||
#include <soc/qcom/boot_stats.h>
|
||||
|
||||
|
||||
#define DRV_NAME "spf-asoc-snd"
|
||||
|
|
@ -908,6 +910,8 @@ static int msm_asoc_machine_probe(struct platform_device *pdev)
|
|||
}
|
||||
dev_info(&pdev->dev, "Sound card %s registered\n", card->name);
|
||||
pr_err("Sound card %s registered\n", card->name);
|
||||
place_marker("M - sound card init complete");
|
||||
|
||||
spdev = pdev;
|
||||
|
||||
subsys_notif_register_notifier("adsp", &auto_spf_dummy_ssr_notifier);
|
||||
|
|
|
|||
Loading…
Reference in a new issue