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

Unverified Commit 8a7c0f97 authored by Michael Bestas's avatar Michael Bestas Committed by derfelot
Browse files

PM / devfreq: bw_hwmon: Add missing mutex unlock

Fixes 28aab031
"PM/devfreq: bw_hwmon: add mutex lock in polling interval case"

Change-Id: I84ccefedbc9d9c0d25806799451346b6a46bae90
parent f9f72d83
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);