diff options
-rw-r--r-- | drivers/spi/spi-sirf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-sirf.c b/drivers/spi/spi-sirf.c index fc20bcfd90c3..96087169296e 100644 --- a/drivers/spi/spi-sirf.c +++ b/drivers/spi/spi-sirf.c | |||
@@ -538,6 +538,7 @@ static int spi_sirfsoc_probe(struct platform_device *pdev) | |||
538 | sspi->bitbang.txrx_bufs = spi_sirfsoc_transfer; | 538 | sspi->bitbang.txrx_bufs = spi_sirfsoc_transfer; |
539 | sspi->bitbang.master->setup = spi_sirfsoc_setup; | 539 | sspi->bitbang.master->setup = spi_sirfsoc_setup; |
540 | master->bus_num = pdev->id; | 540 | master->bus_num = pdev->id; |
541 | master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_CS_HIGH; | ||
541 | master->bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(12) | | 542 | master->bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(12) | |
542 | SPI_BPW_MASK(16) | SPI_BPW_MASK(32); | 543 | SPI_BPW_MASK(16) | SPI_BPW_MASK(32); |
543 | sspi->bitbang.master->dev.of_node = pdev->dev.of_node; | 544 | sspi->bitbang.master->dev.of_node = pdev->dev.of_node; |