diff options
author | John Crispin <john@openwrt.org> | 2013-03-14 18:42:29 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-03-14 18:42:29 +0000 |
commit | b98ae2b149e8eef38d3285d8e1b21af32ac1f2dc (patch) | |
tree | 942791530060eeebfd3e6cd68158c74b892ed7ec /target/linux/lantiq/patches-3.8/0003-SPI-MIPS-lantiq-set-SPI_MASTER_HALF_DUPLEX-flag.patch | |
parent | 3ab75692f3a7490146eaec4a5a76dec327f11f97 (diff) | |
download | mtk-20170518-b98ae2b149e8eef38d3285d8e1b21af32ac1f2dc.zip mtk-20170518-b98ae2b149e8eef38d3285d8e1b21af32ac1f2dc.tar.gz mtk-20170518-b98ae2b149e8eef38d3285d8e1b21af32ac1f2dc.tar.bz2 |
bump to v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36014
Diffstat (limited to 'target/linux/lantiq/patches-3.8/0003-SPI-MIPS-lantiq-set-SPI_MASTER_HALF_DUPLEX-flag.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.8/0003-SPI-MIPS-lantiq-set-SPI_MASTER_HALF_DUPLEX-flag.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-3.8/0003-SPI-MIPS-lantiq-set-SPI_MASTER_HALF_DUPLEX-flag.patch b/target/linux/lantiq/patches-3.8/0003-SPI-MIPS-lantiq-set-SPI_MASTER_HALF_DUPLEX-flag.patch new file mode 100644 index 0000000..2bf6dc3 --- /dev/null +++ b/target/linux/lantiq/patches-3.8/0003-SPI-MIPS-lantiq-set-SPI_MASTER_HALF_DUPLEX-flag.patch @@ -0,0 +1,29 @@ +From a50f7db5b527c317c4bf2ae44a4ccdc8c7e598ab Mon Sep 17 00:00:00 2001 +From: John Crispin <blogic@openwrt.org> +Date: Tue, 29 Jan 2013 21:26:39 +0100 +Subject: [PATCH 03/40] 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> +--- + drivers/spi/spi-falcon.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c +index f9c66c2..c7a74f0 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; +-- +1.7.10.4 + |