]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: psci: fix cpu_suspend to check idle state type for index
authorAmit Daniel Kachhap <amit.daniel@samsung.com>
Thu, 30 Oct 2014 12:24:51 +0000 (12:24 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 30 Oct 2014 16:29:07 +0000 (16:29 +0000)
commitf4fd36b8802781238beb99015b40af4425f3dfa9
tree003b4cfe60e7adc334353fc51af841763dd85f4d
parent3dec0fe48a8936528aae2fc3f904c2c9a34ba368
arm64: psci: fix cpu_suspend to check idle state type for index

This fix rectifies the psci cpu_suspend implementation to check the
PSCI power state parameter type field associated with the requested idle
state index.

Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/psci.c