cpufreq: imx6q: add return value check for voltage scale
authorAnson Huang <anson.huang@nxp.com>
Mon, 5 Nov 2018 00:59:28 +0000 (00:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Dec 2018 08:44:20 +0000 (09:44 +0100)
commit3955562527ee530e88c3197d1809f90b5dcc45f5
tree825143263833cec02b82997641c7c64a6c297ac4
parentc57911f06591a2255c66d37880078d202d568f9e
cpufreq: imx6q: add return value check for voltage scale

[ Upstream commit 6ef28a04d1ccf718eee069b72132ce4aa1e52ab9 ]

Add return value check for voltage scale when ARM clock
rate change fail.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpufreq/imx6q-cpufreq.c