From df743705b43da4b39a8176290d509d93aa57e906 Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Wed, 25 Aug 2021 08:01:23 +0800 Subject: [PATCH] dsp: audio_notify: add soft dependency on qcom_q6v5_pas if remoteproc for qcom_q6v5_pas is not ready and audio_notify_probe is called, it will call EPROBE_DEFER. Sometimes audio_notify_probe is called again very late even after gpr/audio_prm/pinctrl_lpi probe which causes it doesn't receive the adsp_up notidication and soundcard is not registered. Add soft dependency for audio_nofity to make sure audio_notify_probe is called after qcom_q6v5_pas is ready. Change-Id: I5a25f8d47dc2e7694a8078ad0052e7889a28b11d Signed-off-by: Meng Wang --- dsp/audio_notifier.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dsp/audio_notifier.c b/dsp/audio_notifier.c index 7afc7245b5..c23246d102 100644 --- a/dsp/audio_notifier.c +++ b/dsp/audio_notifier.c @@ -676,5 +676,6 @@ static void __exit audio_notifier_exit(void) } module_exit(audio_notifier_exit); +MODULE_SOFTDEP("pre: qcom_q6v5_pas"); MODULE_DESCRIPTION("Audio notifier driver"); MODULE_LICENSE("GPL v2");