]> git.baikalelectronics.ru Git - kernel.git/commit
spi_s3c24xx: pin configuration updates
authorBen Dooks <ben-linux@fluff.org>
Thu, 16 Oct 2008 05:02:41 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:38 +0000 (11:21 -0700)
commit00eca53bd3abb7e2ade240d147b9a485d7150796
tree37f6c04067d55f1267c0ddd49bcb59063a5c5fa3
parentc0a5f0c7d080581617313ac8e85220c01f8f1442
spi_s3c24xx: pin configuration updates

Add a pin configuration callback for the s3c24xx SPI driver, as there are
several options depending on the channel and the chip in use.

This is needed as the controller may not have been setup by the initial
bootloader and the fact that the SPI controller gets reset over
suspend/resume into slave mode but the GPIO function registers do not.

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>
arch/arm/mach-s3c2410/include/mach/spi.h
drivers/spi/spi_s3c24xx.c