]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: imx6q: Fix error handling code
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Sun, 9 Apr 2017 07:33:52 +0000 (09:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Apr 2017 21:22:01 +0000 (23:22 +0200)
commit253ea298322007eb36137c06826954f61d2aa890
tree31675a0db4547513e9b451f862c4ae4d8d6667c9
parent6ec849118c2399705eb7c9f8e3b8061604d3261a
cpufreq: imx6q: Fix error handling code

According to the previous error handling code, it is likely that
'goto out_free_opp' is expected here in order to avoid a memory leak in
error handling path.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/imx6q-cpufreq.c