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

Commit 8af61575 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "PM / devfreq: Fix incorrect placement of dev_pm_opp_put" into msm-4.14

parents f6ade72d d18f2fca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1170,11 +1170,11 @@ static ssize_t available_frequencies_show(struct device *d,
			opp = dev_pm_opp_find_freq_ceil(dev, &freq);
			if (IS_ERR(opp))
				break;
			dev_pm_opp_put(opp);
		} else {
			freq = df->profile->freq_table[i++];
		}

		dev_pm_opp_put(opp);
		count += scnprintf(&buf[count], (PAGE_SIZE - count - 2),
				   "%lu ", freq);
		freq++;