dsp-kernel: add session id for SSR notifications
Currently driver is passing session id as zero when SSR notification is queued. This will cause issues in case of multisession, only default session will get the notification. Add a change to pass proper session ID to make sure all the sessions are getting notified. Change-Id: I1f3bb7169ff9c7b725e3a69dc098c56197e4cbaf Signed-off-by: ANANDU KRISHNAN E <quic_anane@quicinc.com>
This commit is contained in:

committed by
ANANDU KRISHNAN E

parent
c5271de88e
commit
c5d0af46d7
@@ -2331,7 +2331,7 @@ static void fastrpc_notify_drivers(struct fastrpc_apps *me, int cid)
|
|||||||
spin_lock_irqsave(&me->hlock, irq_flags);
|
spin_lock_irqsave(&me->hlock, irq_flags);
|
||||||
hlist_for_each_entry_safe(fl, n, &me->drivers, hn) {
|
hlist_for_each_entry_safe(fl, n, &me->drivers, hn) {
|
||||||
if (fl->cid == cid) {
|
if (fl->cid == cid) {
|
||||||
fastrpc_queue_pd_status(fl, cid, FASTRPC_DSP_SSR, 0);
|
fastrpc_queue_pd_status(fl, cid, FASTRPC_DSP_SSR, fl->sessionid);
|
||||||
fastrpc_notify_users(fl);
|
fastrpc_notify_users(fl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user