ARM: psci: convert psci '-EALREADYON' error code to linux '-EAGAIN'
authorAchin Gupta <achin.gupta@arm.com>
Sun, 10 Mar 2013 21:31:29 +0000 (21:31 +0000)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:05:02 +0000 (11:05 +0100)
commit4e57b6c98d568bb411e793cfd85930202bac2649
tree0c9e9570d3c531af34417df970d49480b7b3f190
parent88d295ae948710b6eec2de332ad16d61d2e6a9cf
ARM: psci: convert psci '-EALREADYON' error code to linux '-EAGAIN'

This patch adds a possible error code of the cpu_on psci api. It
indicates that the cpu specified in the cpu_on call is up and running
(e.g. the firmware still has not seen the preceding cpu_off call).

Signed-off-by: Achin Gupta <achin.gupta@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
arch/arm/kernel/psci.c