summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.3/463-spi-ath79-add-fast-flash-read.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-05 13:56:35 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-05 13:56:35 +0000
commit56f2e085371d5fc782385b8ab1b2c2f58560ac56 (patch)
tree1114042e3ffee2c7b88dadff21b998dab692ca8e /target/linux/ar71xx/patches-3.3/463-spi-ath79-add-fast-flash-read.patch
parent8fffc6d6df5b99530fe164f82e2705ef9638517d (diff)
downloadmtk-20170518-56f2e085371d5fc782385b8ab1b2c2f58560ac56.zip
mtk-20170518-56f2e085371d5fc782385b8ab1b2c2f58560ac56.tar.gz
mtk-20170518-56f2e085371d5fc782385b8ab1b2c2f58560ac56.tar.bz2
ar71xx: update 3.3 patches
SVN-Revision: 31602
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/463-spi-ath79-add-fast-flash-read.patch')
-rw-r--r--target/linux/ar71xx/patches-3.3/463-spi-ath79-add-fast-flash-read.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/patches-3.3/463-spi-ath79-add-fast-flash-read.patch b/target/linux/ar71xx/patches-3.3/463-spi-ath79-add-fast-flash-read.patch
index 75db84c..5268ad4 100644
--- a/target/linux/ar71xx/patches-3.3/463-spi-ath79-add-fast-flash-read.patch
+++ b/target/linux/ar71xx/patches-3.3/463-spi-ath79-add-fast-flash-read.patch
@@ -34,7 +34,7 @@
}
static void ath79_spi_disable(struct ath79_spi *sp)
-@@ -222,6 +229,110 @@ static u32 ath79_spi_txrx_mode0(struct s
+@@ -229,6 +236,110 @@ static u32 ath79_spi_txrx_mode0(struct s
return ath79_spi_rr(sp, AR71XX_SPI_REG_RDS);
}
@@ -145,7 +145,7 @@
static __devinit int ath79_spi_probe(struct platform_device *pdev)
{
struct spi_master *master;
-@@ -244,6 +355,8 @@ static __devinit int ath79_spi_probe(str
+@@ -251,6 +362,8 @@ static __devinit int ath79_spi_probe(str
sp = spi_master_get_devdata(master);
platform_set_drvdata(pdev, sp);
@@ -154,7 +154,7 @@
master->setup = ath79_spi_setup;
master->cleanup = ath79_spi_cleanup;
master->bus_num = pdata->bus_num;
-@@ -252,7 +365,7 @@ static __devinit int ath79_spi_probe(str
+@@ -259,7 +372,7 @@ static __devinit int ath79_spi_probe(str
sp->bitbang.master = spi_master_get(master);
sp->bitbang.chipselect = ath79_spi_chipselect;
sp->bitbang.txrx_word[SPI_MODE_0] = ath79_spi_txrx_mode0;
@@ -163,7 +163,7 @@
sp->bitbang.flags = SPI_CS_HIGH;
r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-@@ -277,7 +390,8 @@ static __devinit int ath79_spi_probe(str
+@@ -284,7 +397,8 @@ static __devinit int ath79_spi_probe(str
if (ret)
goto err_clk_put;