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 ARM: ux500: make remaining headers local 2013-04-08 13:59:48 +02:00
board-mop500-pins.c ARM: arm-soc driver changes for 3.10 2013-05-04 12:31:18 -07:00
board-mop500-regulators.c
board-mop500-regulators.h
board-mop500-sdi.c ARM: arm-soc multiplatform updates for 3.10 2013-05-02 09:38:16 -07:00
board-mop500-stuib.c
board-mop500-u8500uib.c
board-mop500-uib.c ARM: ux500: get rid of <mach/[hardware|db8500-regs].h> 2013-04-08 13:59:28 +02:00
board-mop500.c ARM: ux500: Remove duplicated assignment of ab8500_platdata 2013-05-14 10:14:40 +02:00
board-mop500.h ARM: arm-soc multiplatform updates for 3.10 2013-05-02 09:38:16 -07:00
cache-l2x0.c ARM: arm-soc multiplatform updates for 3.10 2013-05-02 09:38:16 -07:00
cpu-db8500.c ARM: ux500: Provide device enumeration number suffix for SMSC911x 2013-05-14 10:30:55 +02:00
cpu.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-05-03 09:13:19 -07:00
cpuidle.c ARM: ux500: Only configure wake-up reasons on ux500 based platforms 2013-05-27 14:08:20 +02:00
db8500-regs.h ARM: ux500: get rid of <mach/[hardware|db8500-regs].h> 2013-04-08 13:59:28 +02:00
devices-common.c ARM: ux500: make irqs.h local to platform 2013-04-08 13:59:44 +02:00
devices-common.h ARM: ux500: add PRCM register base for pinctrl 2012-11-08 13:44:41 +01:00
devices-db8500.c
devices-db8500.h
devices.c ARM: ux500: make remaining headers local 2013-04-08 13:59:48 +02:00
devices.h
headsmp.S ARM: ux500: add missing ENDPROC to headsmp.S 2012-01-16 08:36:03 -06:00
hotplug.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-05-03 09:13:19 -07:00
id.c ARM: ux500: make remaining headers local 2013-04-08 13:59:48 +02:00
id.h
irqs-board-mop500.h
irqs-db8500.h ARM: ux500: make irqs.h local to platform 2013-04-08 13:59:44 +02:00
irqs.h ARM: ux500: make irqs.h local to platform 2013-04-08 13:59:44 +02:00
Kconfig cpufreq: remove CONFIG_CPU_FREQ_TABLE 2013-12-20 19:07:16 -08:00
Makefile ARM: ux500: build hotplug.o for ARMv7-a 2013-04-08 13:59:54 +02:00
Makefile.boot ARM: move all dtb targets out of Makefile.boot 2012-09-14 09:22:04 -05:00
pins-db8500.h
platsmp.c ARM: arm-soc multiplatform updates for 3.10 2013-05-02 09:38:16 -07:00
pm.c ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation 2019-07-27 21:43:01 +02:00
setup.h ARM: ux500: Remove duplicated assignment of ab8500_platdata 2013-05-14 10:14:40 +02:00
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