From 5c8fe61c602b3c56fa1b405e1937dab0051e8606 Mon Sep 17 00:00:00 2001 From: Banajit Goswami Date: Tue, 29 Mar 2016 13:48:00 -0700 Subject: [PATCH] soc: qcom: q6dspv2: add priority to ADSP SSR notifier for APR Currently ADSP SSR notifications to APR come much earlier than ADSP SSR notifications to SLIMbus. This causes audio playback resume to take more time than expected, as code in WCD codec driver has dependency on the sequence at which SSR notifications are received. Add a priority to the notifier block for APR, so that the APR has lower priority compared to SLIMbus. CRs-fixed: 989828 Change-Id: Idb089ec8d036d441e32bc927d7294121a1d2735d Signed-off-by: Banajit Goswami --- drivers/soc/qcom/qdsp6v2/apr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/qdsp6v2/apr.c b/drivers/soc/qcom/qdsp6v2/apr.c index 9e68e4ab0cb5..9f953aeb03a4 100644 --- a/drivers/soc/qcom/qdsp6v2/apr.c +++ b/drivers/soc/qcom/qdsp6v2/apr.c @@ -880,6 +880,7 @@ static int lpass_notifier_cb(struct notifier_block *this, unsigned long code, } static struct notifier_block lnb = { + .priority = 0, .notifier_call = lpass_notifier_cb, };