android_kernel_xiaomi_sm8350/arch/mips/au1000
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
..
common [MIPS] au1000: Make sure GPIO value is zero or one 2008-09-27 15:45:35 +01:00
db1x00 [MIPS] Initialization of Alchemy boards 2008-07-30 21:54:34 +01:00
mtx-1 [MIPS] Initialization of Alchemy boards 2008-07-30 21:54:34 +01:00
pb1000 [MIPS] Initialization of Alchemy boards 2008-07-30 21:54:34 +01:00
pb1100 [MIPS] Initialization of Alchemy boards 2008-07-30 21:54:34 +01:00
pb1200 [MIPS] Initialization of Alchemy boards 2008-07-30 21:54:34 +01:00
pb1500 [MIPS] Initialization of Alchemy boards 2008-07-30 21:54:34 +01:00
pb1550 [MIPS] Initialization of Alchemy boards 2008-07-30 21:54:34 +01:00
xxs1500 [MIPS] Initialization of Alchemy boards 2008-07-30 21:54:34 +01:00
Kconfig [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00