]> git.baikalelectronics.ru Git - kernel.git/commit
S3C24XX: ensure we only configure valid GPIOs
authorBen Dooks <ben-linux@fluff.org>
Thu, 29 Nov 2007 00:21:29 +0000 (16:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 29 Nov 2007 17:24:52 +0000 (09:24 -0800)
commit3362873f6d5d9cd1797e2994e8335ca24031f1c7
treedd310b28edb8715473a3086c642f674e39f2a2b6
parent09adeb5d1cc627bb1a3fbded05f83078edb67b9a
S3C24XX: ensure we only configure valid GPIOs

If we specify an GPIO which cannot be used for the purpose, then assume
that the GPIO is not to be used and do not try and configure it.  This can
be the case where the SPI bus is TX only.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_s3c24xx_gpio.c