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>
This commit is contained in:
Banajit Goswami 2016-03-29 13:48:00 -07:00 committed by Jeevan Shriram
parent 4727beff4d
commit 5c8fe61c60

View file

@ -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,
};