diff options
author | Sourav Poddar <sourav.poddar@ti.com> | 2013-09-24 17:11:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-26 13:12:04 +0200 |
commit | 633795b992ebae2a78890c0cfa5c17058eb93817 (patch) | |
tree | b4e874622c384bb0d43cfb476bebb4ff1c7c719d /drivers/spi/spi-ti-qspi.c | |
parent | Linux 3.12-rc2 (diff) | |
download | linux-633795b992ebae2a78890c0cfa5c17058eb93817.tar.xz linux-633795b992ebae2a78890c0cfa5c17058eb93817.zip |
spi/qspi: Add dual/quad read mode bit.
Add dual/quad read mode bit flag for the master controller.
These check will be used in the spi framework to determine
whether the master controller can do dual/quad read respectively.
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-ti-qspi.c')
-rw-r--r-- | drivers/spi/spi-ti-qspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c index e12d962a289f..7a45c3e665f8 100644 --- a/drivers/spi/spi-ti-qspi.c +++ b/drivers/spi/spi-ti-qspi.c @@ -472,7 +472,7 @@ static int ti_qspi_probe(struct platform_device *pdev) if (!master) return -ENOMEM; - master->mode_bits = SPI_CPOL | SPI_CPHA; + master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_RX_DUAL | SPI_RX_QUAD; master->bus_num = -1; master->flags = SPI_MASTER_HALF_DUPLEX; |