]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] S3C24XX: fix passing spi chipselect to select routine
authorBen Dooks <ben-linux@fluff.org>
Fri, 26 Jan 2007 08:56:43 +0000 (00:56 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:50:57 +0000 (13:50 -0800)
commita9efa6466ac00f30e408f361361ac8f7cfb8692b
tree6729883c00bd75054020f822e958626e84bdc84d
parent0a053714598e744857fd1eb45d43b751f88f1440
[PATCH] S3C24XX: fix passing spi chipselect to select routine

It turns out that the spi chipselect was not being passed to the set_cs
routine if one was specified in the platform data.

As part of the fix, change to using a set_cs field in the controller state,
and put a default gpio routine in if the data passed does not specify it.

Also remove the //#define DEBUG

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