diff options
author | John Crispin <blogic@openwrt.org> | 2013-01-30 15:33:31 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2013-02-05 12:16:55 -0500 |
commit | ec3eaeca916ae6e86925712741559c78ff9c5c49 (patch) | |
tree | 82a691e9d42398b1095f14e640d6ee03e50818b5 /drivers/spi/spi-falcon.c | |
parent | 737a7c43807b9d01bc01e741b2095c8b4dcc1b13 (diff) |
spi/mips-lantiq: set SPI_MASTER_HALF_DUPLEX flag
Due to hardware limitations of the spi/flash frontend of the EBU we need to set
the SPI_MASTER_HALF_DUPLEX flag.
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi-falcon.c')
-rw-r--r-- | drivers/spi/spi-falcon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c index f9c66c224a17..c7a74f0ef892 100644 --- a/drivers/spi/spi-falcon.c +++ b/drivers/spi/spi-falcon.c | |||
@@ -423,6 +423,7 @@ static int falcon_sflash_probe(struct platform_device *pdev) | |||
423 | 423 | ||
424 | master->mode_bits = SPI_MODE_3; | 424 | master->mode_bits = SPI_MODE_3; |
425 | master->num_chipselect = 1; | 425 | master->num_chipselect = 1; |
426 | master->flags = SPI_MASTER_HALF_DUPLEX; | ||
426 | master->bus_num = -1; | 427 | master->bus_num = -1; |
427 | master->setup = falcon_sflash_setup; | 428 | master->setup = falcon_sflash_setup; |
428 | master->prepare_transfer_hardware = falcon_sflash_prepare_xfer; | 429 | master->prepare_transfer_hardware = falcon_sflash_prepare_xfer; |