]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sh: Update gpio_set_value() pin value handling
authorMagnus Damm <damm@igel.co.jp>
Tue, 21 Oct 2008 12:31:07 +0000 (21:31 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 21 Oct 2008 12:41:23 +0000 (21:41 +0900)
commited0b2ef55a393b96211e209f26544f2f180b0fe8
tree4f3e0a3bda4172a65d0f833d3d365e39ff60bb27
parent3b495513a2a033d401eba213327c1525d863eb9b
sh: Update gpio_set_value() pin value handling

This patch updates the pinmux code to use the boolean value for
the function gpio_set_value(). Without this patch values other
than 0 and 1 will result in incorrect GPIO settings.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/gpio.c