diff options
author | Banajit Goswami <bgoswami@codeaurora.org> | 2016-03-29 13:48:00 -0700 |
---|---|---|
committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-05-06 12:06:22 -0700 |
commit | 5c8fe61c602b3c56fa1b405e1937dab0051e8606 (patch) | |
tree | cde32a9918460ee3f29041928dcb3c1fc65d5294 | |
parent | 4727beff4df11caddc1bfa1c84f4e1b0693f296d (diff) |
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 <bgoswami@codeaurora.org>
-rw-r--r-- | drivers/soc/qcom/qdsp6v2/apr.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, }; |