PM / devfreq: bw_hwmon: Add missing mutex unlock
Fixes 28aab0311c
"PM/devfreq: bw_hwmon: add mutex lock in polling interval case"
Change-Id: I84ccefedbc9d9c0d25806799451346b6a46bae90
This commit is contained in:
parent
1e6da862cb
commit
bbaf781af5
1 changed files with 1 additions and 0 deletions
|
@ -866,6 +866,7 @@ static int devfreq_bw_hwmon_ev_handler(struct devfreq *df,
|
|||
if (ret) {
|
||||
dev_err(df->dev.parent,
|
||||
"Unable to resume HW monitor (%d)\n", ret);
|
||||
mutex_unlock(&sync_lock);
|
||||
return ret;
|
||||
}
|
||||
mutex_unlock(&sync_lock);
|
||||
|
|
Loading…
Add table
Reference in a new issue