]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: mvebu: Free the clock reference in the normal path
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 13 Dec 2017 17:29:13 +0000 (18:29 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 16 Dec 2017 01:29:42 +0000 (02:29 +0100)
commita76540cbe1fd9ee36c13faa913dc10e0aed663cb
tree4df9f1c31e2e4e0af944594f77247d0ebd106253
parent6991c84b0a7bcfa1ce29c4650a2d889c5610d1d0
cpufreq: mvebu: Free the clock reference in the normal path

In case of error the clock reference was freed but not in normal path
once it was nor more used. This patch fixes it.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/mvebu-cpufreq.c