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

Commit b7ec6ef1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "qseecom: add mutex protection for unloading app in qseecom_release"

parents f976cee7 c4f30817
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6100,7 +6100,9 @@ static int qseecom_release(struct inode *inode, struct file *file)
			ret = qseecom_unregister_listener(data);
			break;
		case QSEECOM_CLIENT_APP:
			mutex_lock(&app_access_lock);
			ret = qseecom_unload_app(data, true);
			mutex_unlock(&app_access_lock);
			break;
		case QSEECOM_SECURE_SERVICE:
		case QSEECOM_GENERIC: