diff mbox

[00/49] spi: davinci: re-write existing driver

Message ID 4CED027F.8030606@mw-itcon.de (mailing list archive)
State Not Applicable
Headers show

Commit Message

aw-davinci-linux@mw-itcon.de Nov. 24, 2010, 12:18 p.m. UTC
None
diff mbox

Patch

--- a/drivers/spi/davinci_spi.c
+++ b/drivers/spi/davinci_spi.c
@@ -805,6 +805,8 @@  static int davinci_spi_probe(struct platform_device
*pdev)
                ret = -ENOMEM;
                goto err;
        }
+       /* the spi->mode bits understood by this driver: */
+       master->mode_bits = SPI_LSB_FIRST | SPI_CPOL | SPI_CPHA |
SPI_CS_HIGH | SPI_NO_CS | SPI_READY | SPI_LOOP;