Searched hist:f222a769 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm/kernel/ |
H A D | cpuidle.c | f222a769 Thu Jul 14 05:37:27 CDT 2016 Jisheng Zhang <jszhang@marvell.com> ARM: 8585/1: cpuidle: fix !cpuidle_ops[cpu].init case during init
Let's assume cpuidle_ops exists but it doesn't implement the according init callback, current arm_cpuidle_init() will return success to its caller, but in fact it should return -EOPNOTSUPP.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> f222a769 Thu Jul 14 05:37:27 CDT 2016 Jisheng Zhang <jszhang@marvell.com> ARM: 8585/1: cpuidle: fix !cpuidle_ops[cpu].init case during init Let's assume cpuidle_ops exists but it doesn't implement the according init callback, current arm_cpuidle_init() will return success to its caller, but in fact it should return -EOPNOTSUPP. Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|