android_kernel_samsung_msm8976/arch/arm/mach-ux500
Arnd Bergmann c2279bd09f ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
commit f0e8faa7a5e894b0fc99d24be1b18685a92ea466 upstream.

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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2019-07-27 21:43:01 +02:00
..
board-mop500-audio.c
board-mop500-pins.c
board-mop500-regulators.c
board-mop500-regulators.h
board-mop500-sdi.c
board-mop500-stuib.c
board-mop500-u8500uib.c
board-mop500-uib.c
board-mop500.c
board-mop500.h
cache-l2x0.c
cpu-db8500.c
cpu.c
cpuidle.c
db8500-regs.h
devices-common.c
devices-common.h
devices-db8500.c
devices-db8500.h
devices.c
devices.h
headsmp.S ARM: ux500: add missing ENDPROC to headsmp.S 2012-01-16 08:36:03 -06:00
hotplug.c
id.c
id.h
irqs-board-mop500.h
irqs-db8500.h
irqs.h
Kconfig cpufreq: remove CONFIG_CPU_FREQ_TABLE 2013-12-20 19:07:16 -08:00
Makefile
Makefile.boot ARM: move all dtb targets out of Makefile.boot 2012-09-14 09:22:04 -05:00
pins-db8500.h
platsmp.c
pm.c
setup.h
ste-dma40-db8500.h
timer.c Merge tag 'ux500-multiplatform-asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/multiplatform 2013-04-09 16:01:52 +02:00
usb.c