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

Commit 0e55cca9 authored by Guodong Hu's avatar Guodong Hu Committed by Gerrit - the friendly Code Review server
Browse files

dsp: redefine audio_notifier_init to silence PDR error



CONFIG_MSM_QDSP6_PDR is not enabled on Auto targets.

Change-Id: If7ac374bbe88635eeb328593b4d3a9f01a716c5c
Signed-off-by: default avatarGuodong Hu <guodhu@codeaurora.org>
parent 454876a3
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -606,6 +606,7 @@ static int __init audio_notifier_late_init(void)
	return 0;
}

#ifdef CONFIG_MSM_QDSP6_PDR
static int __init audio_notifier_init(void)
{
	int ret;
@@ -624,6 +625,17 @@ static int __init audio_notifier_init(void)

	return 0;
}
#else
static int __init audio_notifier_init(void)
{
	audio_notifier_subsys_init();
	audio_notifier_disable_service(AUDIO_NOTIFIER_PDR_SERVICE);

	audio_notifier_late_init();

	return 0;
}
#endif
module_init(audio_notifier_init);

static void __exit audio_notifier_exit(void)