ar71xx: update 3.3 patches
[openwrt/openwrt.git] / target / linux / ar71xx / patches-3.3 / 463-spi-ath79-add-fast-flash-read.patch
index 75db84ceb65e81fad3225c5137012d75e4f50ed7..5268ad44c9e7c04e92082f3c1b0e795917bcbc57 100644 (file)
@@ -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);
  }
  
  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);
  
        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;
        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;