aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_imx.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-10-01 18:44:30 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-01 19:11:16 -0400
commit3910f2cff90f447e37d32f8f7d60566042b8bdbe (patch)
treec0adc9e652f84faa8e0d751501842ae7866d89aa /drivers/spi/spi_imx.c
parent6c23e5d43313a829fc4d07fa43a1f853f288b45f (diff)
spi-imx: setup mode_bits we can handle
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: David Brownell <dbrownell@users.sourceforge.net> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi/spi_imx.c')
-rw-r--r--drivers/spi/spi_imx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c
index b91a5a8f6da6..84dd4f3bd50e 100644
--- a/drivers/spi/spi_imx.c
+++ b/drivers/spi/spi_imx.c
@@ -545,6 +545,7 @@ static int __init spi_imx_probe(struct platform_device *pdev)
545 spi_imx->bitbang.txrx_bufs = spi_imx_transfer; 545 spi_imx->bitbang.txrx_bufs = spi_imx_transfer;
546 spi_imx->bitbang.master->setup = spi_imx_setup; 546 spi_imx->bitbang.master->setup = spi_imx_setup;
547 spi_imx->bitbang.master->cleanup = spi_imx_cleanup; 547 spi_imx->bitbang.master->cleanup = spi_imx_cleanup;
548 spi_imx->bitbang.master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH;
548 549
549 init_completion(&spi_imx->xfer_done); 550 init_completion(&spi_imx->xfer_done);
550 551