powerpc/cpuidle: Fix parsing of idle state flags from device-tree
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Sun, 3 Aug 2014 07:53:08 +0000 (13:23 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 05:40:45 +0000 (15:40 +1000)
commit95707d852856aec1cbdad1873ff2dc5161a5cb91
treeb22d30f3f5fc7185f7b8d89d813cbfc2dfb60bbe
parent6174bac8c7ff73a86ae9a967d1c9cadc478023ae
powerpc/cpuidle: Fix parsing of idle state flags from device-tree

Flags from device-tree need to be parsed with accessors for
interpreting correct value in little-endian.

Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Reviewed-by: Preeti U. Murthy <preeti@linux.vnet.ibm.com>
CC: <stable@vger.kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/cpuidle/cpuidle-powernv.c