]> git.baikalelectronics.ru Git - kernel.git/commit
powernv/cpuidle: Fix idle states all being marked invalid
authorNicholas Piggin <npiggin@gmail.com>
Thu, 2 Aug 2018 15:39:51 +0000 (01:39 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 3 Aug 2018 08:30:33 +0000 (18:30 +1000)
commit5cd19f9d88aa7b6f9c1a861b5c69e820b22d1c0a
tree713a6a20c88a6338723992e62da05ee25643bc17
parentbe2edd75c65541af2f5c7ddbffd4694180fb7396
powernv/cpuidle: Fix idle states all being marked invalid

Commit 2c3fc3875f90 ("powernv/cpuidle: Parse dt idle properties into
global structure") parses dt idle states into structs, but never marks
them valid. This results in all idle states being lost.

Fixes: 2c3fc3875f90 ("powernv/cpuidle: Parse dt idle properties into global structure")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/idle.c