]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commitcf46b973f72ddf9d1e17d6fde9aa14f61aa1afed
tree37f6c04067d55f1267c0ddd49bcb59063a5c5fa3
parentf9b90e39cbc5c4d6ef60022fd1f25d541df0aad1
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