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: Neeraj Upadhyay <[email protected]>
This commit is contained in:
Neeraj Upadhyay 2020-10-06 11:26:47 +05:30
commit 53fc7838ad

View file

@ -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;
}