mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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:
parent
5168327a4f
commit
53fc7838ad
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue