Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ebcc9fc authored by Aravind Kumar's avatar Aravind Kumar Committed by Gerrit - the friendly Code Review server
Browse files

adsp: fastrpc: Enable restart notifier for fastrpc application



Enable restart notifier for fastrpc application. Add active sessions
to the list to notify SSR restart.

Change-Id: Ic97ef0c771a2ca4cbfdac84ff750151d031bb72b
Signed-off-by: default avatarAravind Kumar <akumark@codeaurora.org>
parent 629429d5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1470,6 +1470,9 @@ static int fastrpc_device_open(struct inode *inode, struct file *filp)
		pr_info("'opened /dev/%s c %d %d'\n", gcinfo[cid].name,
						MAJOR(me->dev_no), cid);
	}
	spin_lock(&me->hlock);
	hlist_add_head(&fl->hn, &me->drivers);
	spin_unlock(&me->hlock);

bail:
	mutex_unlock(&me->smd_mutex);