MLK-11110: cpufreq: imx7-cpufreq: fix system resume failed
authorRobin Gong <b38343@freescale.com>
Mon, 15 Jun 2015 04:43:47 +0000 (12:43 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:46:56 +0000 (14:46 -0500)
commit7f6e18b4ac3f2b220157641cae4eba8da508d5c4
tree0da443d61302f5be80f81c7051e020d907319d94
parent70cdee4a794c1a5ecd851834f27814c8e0779d92
MLK-11110: cpufreq: imx7-cpufreq: fix system resume failed

System resume failed easily after commit b993956109856d3, the commit is no
problem, but it exposes the potential deadlock bug which not unlock mutex if
cpufreq not change, remove these code since the cpufreq framwork has consider
it.

Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit d791bf25e07023f7a936fcabe6f641ad391048b3)
drivers/cpufreq/imx7-cpufreq.c