android_kernel_xiaomi_sm8350/arch/mips/au1000/common
Bruno Randolf 19506fc518 [MIPS] au1000: Make sure GPIO value is zero or one
David Brownell <david-b@pacbell.net> wrote:
>       The problem is that "value" is zero-or-nonzero.
>       This code wrongly assumes it's zero-or-one.
>       Possible fix:  "((!!value) << gpio)".

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-09-27 15:45:35 +01:00
..
au1xxx_irqmap.c [MIPS] Alchemy common code style cleanup 2008-05-12 16:46:52 +01:00
clocks.c [MIPS] Alchemy: export get_au1x00_speed for modules 2008-06-05 18:13:13 +01:00
cputable.c [MIPS] Alchemy common code style cleanup 2008-05-12 16:46:52 +01:00
dbdma.c [MIPS] Alchemy: dbdma: add API to delete custom DDMA device ids. 2008-06-05 18:13:14 +01:00
dma.c [MIPS] Alchemy common code style cleanup 2008-05-12 16:46:52 +01:00
gpio.c [MIPS] au1000: Make sure GPIO value is zero or one 2008-09-27 15:45:35 +01:00
irq.c [MIPS] Alchemy common code style cleanup 2008-05-12 16:46:52 +01:00
Makefile [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
pci.c [MIPS] Alchemy common code style cleanup 2008-05-12 16:46:52 +01:00
platform.c [MIPS] Alchemy, PNX: Use symbolic constants for DMA masks. 2008-07-15 18:44:29 +01:00
power.c remove include/linux/pm_legacy.h 2008-07-24 10:47:22 -07:00
prom.c [MIPS] Alchemy common code style cleanup 2008-05-12 16:46:52 +01:00
puts.c [MIPS] Alchemy common code style cleanup 2008-05-12 16:46:52 +01:00
reset.c [MIPS] Alchemy common code style cleanup 2008-05-12 16:46:52 +01:00
setup.c [MIPS] Alchemy common code style cleanup 2008-05-12 16:46:52 +01:00
sleeper.S [MIPS] Alchemy: kill useless #include's, #define's and extern's 2008-04-28 17:14:28 +01:00
time.c [MIPS] Alchemy common code style cleanup 2008-05-12 16:46:52 +01:00