[PATCH v4 1/2] ARM: cpuidle: fix !cpuidle_ops[cpu].init case during init

Daniel Lezcano daniel.lezcano at linaro.org
Thu Jul 7 06:45:40 PDT 2016


On Wed, Jul 06, 2016 at 02:15:54PM +0800, Jisheng Zhang wrote:
> 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 at marvell.com>
> ---

Acked-by: Daniel Lezcano <daniel.lezcano at linaro.org>



More information about the linux-arm-kernel mailing list