diff options
Diffstat (limited to 'arch/sh/kernel/gpio.c')
-rw-r--r-- | arch/sh/kernel/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/gpio.c b/arch/sh/kernel/gpio.c index bb8b812c689..9ac0b8e6c21 100644 --- a/arch/sh/kernel/gpio.c +++ b/arch/sh/kernel/gpio.c | |||
@@ -432,7 +432,7 @@ static int __gpio_get_set_value(struct pinmux_info *gpioc, | |||
432 | BUG(); | 432 | BUG(); |
433 | else | 433 | else |
434 | value = read_write_reg(dr->reg, dr->reg_width, | 434 | value = read_write_reg(dr->reg, dr->reg_width, |
435 | 1, bit, value, do_write); | 435 | 1, bit, !!value, do_write); |
436 | 436 | ||
437 | return value; | 437 | return value; |
438 | } | 438 | } |