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 <mengw@codeaurora.org>
This commit is contained in:
Meng Wang
2021-08-25 08:01:23 +08:00
parent fa58ae98f9
commit df743705b4

View File

@@ -676,5 +676,6 @@ static void __exit audio_notifier_exit(void)
} }
module_exit(audio_notifier_exit); module_exit(audio_notifier_exit);
MODULE_SOFTDEP("pre: qcom_q6v5_pas");
MODULE_DESCRIPTION("Audio notifier driver"); MODULE_DESCRIPTION("Audio notifier driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");