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>
Dieser Commit ist enthalten in:
quic_anane
2023-12-11 15:15:03 +05:30
committet von ANANDU KRISHNAN E
Ursprung c5271de88e
Commit c5d0af46d7

Datei anzeigen

@@ -2331,7 +2331,7 @@ static void fastrpc_notify_drivers(struct fastrpc_apps *me, int cid)
spin_lock_irqsave(&me->hlock, irq_flags);
hlist_for_each_entry_safe(fl, n, &me->drivers, hn) {
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);
}
}