linux-stable/arch/arm/mach-ux500
Arnd Bergmann f0e8faa7a5 ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
This function clearly never worked and always returns true,
as pointed out by gcc-7:

arch/arm/mach-ux500/pm.c: In function 'prcmu_is_cpu_in_wfi':
arch/arm/mach-ux500/pm.c:137:212: error: ?:
using integer constants in boolean context, the expression
will always evaluate to 'true' [-Werror=int-in-bool-context]

With the added braces, the condition actually makes sense.

Fixes: 34fe6f107e ("mfd : Check if the other db8500 core is in WFI")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-01-12 13:25:39 +01:00
..
board-mop500-audio.c
board-mop500.h
cpu-db8500.c ARM: ux500: consolidate base platform files 2016-07-12 11:24:09 +02:00
db8500-regs.h
hotplug.c ARM: Remove __ref on hotplug cpu die path 2015-10-22 09:55:03 -07:00
Kconfig ARM: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB 2016-06-03 12:18:13 -07:00
Makefile ARM: ux500: consolidate base platform files 2016-07-12 11:24:09 +02:00
platsmp.c ARM: ux500: consolidate soc_device code in id.c 2016-07-12 11:24:08 +02:00
pm.c ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation 2017-01-12 13:25:39 +01:00
pm_domains.c ARM: make of_device_ids const 2015-02-19 09:44:25 +01:00
pm_domains.h ARM: ux500: Initial support for PM domains 2014-10-28 10:48:23 +01:00
setup.h ARM: ux500: consolidate base platform files 2016-07-12 11:24:09 +02:00
ste-dma40-db8500.h