spi: fix use of set_cs in spi_s3c24xx driver
authorBen Dooks <ben-linux-arm@fluff.org>
Tue, 17 Apr 2007 05:53:22 +0000 (22:53 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Apr 2007 23:36:27 +0000 (16:36 -0700)
commit3d2c5b415ccd6c322e18adaed3a5b21f7ec555ef
treeab2b56ba243f3c23b0bc8f4b40ce9fea08eee420
parent88ed39b064575b4f42ecb737ec2daa66717de173
spi: fix use of set_cs in spi_s3c24xx driver

It turns out that the last patch to change set_cs to be kept in the
controller's structure instead of the platform data was an incomplete
change, and did not change the references to platfrom data in the setup
xfer code.  (This can prevent an oops.)

Reported-by: <Ling.Alex@iac.com.tw>
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.c