ASoC: msm: Register AFE APR during prepare
ALSA trigger function must be atomic. Therefore, removing the AFE APR
registering function to prepare since apr_register uses mutex
CRs-Fixed: 298122
Signed-off-by: Jay Wang <jaywang@codeaurora.org>
diff --git a/include/sound/q6afe.h b/include/sound/q6afe.h
index 133a065..182c4e9 100644
--- a/include/sound/q6afe.h
+++ b/include/sound/q6afe.h
@@ -65,4 +65,6 @@
u32 rate);
int afe_port_stop_nowait(int port_id);
int afe_apply_gain(u16 port_id, u16 gain);
+int afe_q6_interface_prepare(void);
+
#endif /* __Q6AFE_H__ */