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

Commit 53fc7838 authored by Neeraj Upadhyay's avatar Neeraj Upadhyay
Browse files

haven: hh_dbl: Add missing unlock in hh_dbl_validate_params



Add missing unlock of cap_entry_lock in hh_dbl_validate_params().

Change-Id: Icdcf7aa1bcb2c037f4a924cddcad36007beadd00
Signed-off-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
parent 5168327a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ static int hh_dbl_validate_params(struct hh_dbl_desc *client_desc,
	spin_lock(&cap_table_entry->cap_entry_lock);

	if (cap_table_entry->client_desc != client_desc) {
		spin_unlock(&cap_table_entry->cap_entry_lock);
		pr_err("%s: Invalid client descriptor\n", __func__);
		return -EINVAL;
	}