From: John Crispin Date: Wed, 30 Jan 2013 20:33:31 +0000 (+0100) Subject: spi/mips-lantiq: set SPI_MASTER_HALF_DUPLEX flag X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ec3eaeca916ae6e86925712741559c78ff9c5c49;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: John Crispin Signed-off-by: Grant Likely --- 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) master->mode_bits = SPI_MODE_3; master->num_chipselect = 1; + master->flags = SPI_MASTER_HALF_DUPLEX; master->bus_num = -1; master->setup = falcon_sflash_setup; master->prepare_transfer_hardware = falcon_sflash_prepare_xfer;