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:
Michael Bestas 2019-03-04 19:47:39 +02:00 committed by Timi
parent 1e6da862cb
commit bbaf781af5

View file

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