[lantiq] bump to v3.8
[openwrt/svn-archive/archive.git] / target / linux / lantiq / patches-3.8 / 0003-SPI-MIPS-lantiq-set-SPI_MASTER_HALF_DUPLEX-flag.patch
1 From a50f7db5b527c317c4bf2ae44a4ccdc8c7e598ab Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Tue, 29 Jan 2013 21:26:39 +0100
4 Subject: [PATCH 03/40] SPI: MIPS: lantiq: set SPI_MASTER_HALF_DUPLEX flag
5
6 Due to hardware limitations of the spi/flash frontend of the EBU we need to set
7 the SPI_MASTER_HALF_DUPLEX flag.
8
9 Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
10 Signed-off-by: John Crispin <blogic@openwrt.org>
11 ---
12 drivers/spi/spi-falcon.c | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c
16 index f9c66c2..c7a74f0 100644
17 --- a/drivers/spi/spi-falcon.c
18 +++ b/drivers/spi/spi-falcon.c
19 @@ -423,6 +423,7 @@ static int falcon_sflash_probe(struct platform_device *pdev)
20
21 master->mode_bits = SPI_MODE_3;
22 master->num_chipselect = 1;
23 + master->flags = SPI_MASTER_HALF_DUPLEX;
24 master->bus_num = -1;
25 master->setup = falcon_sflash_setup;
26 master->prepare_transfer_hardware = falcon_sflash_prepare_xfer;
27 --
28 1.7.10.4
29