kernel: bump 4.14 to 4.14.41
[openwrt/staging/chunkeey.git] / target / linux / ath79 / patches-4.14 / 461-spi-ath79-add-fast-flash-read.patch
index 5c3583f758bb51cefacb31dce9f6a4c73f3a6384..06da2b34e8896077113738a307f42d87100b904d 100644 (file)
@@ -10,7 +10,7 @@
  }
  
  static void ath79_spi_disable(struct ath79_spi *sp)
-@@ -205,6 +202,38 @@ static u32 ath79_spi_txrx_mode0(struct s
+@@ -204,6 +201,38 @@ static u32 ath79_spi_txrx_mode0(struct s
        return ath79_spi_rr(sp, AR71XX_SPI_REG_RDS);
  }
  
@@ -49,9 +49,9 @@
  static int ath79_spi_probe(struct platform_device *pdev)
  {
        struct spi_master *master;
-@@ -234,6 +263,8 @@ static int ath79_spi_probe(struct platfo
+@@ -232,6 +261,8 @@ static int ath79_spi_probe(struct platfo
+               master->bus_num = pdata->bus_num;
                master->num_chipselect = pdata->num_chipselect;
-               master->cs_gpios = pdata->cs_gpios;
        }
 +      master->spi_flash_read = ath79_spi_read_flash_data;
 +      master->flash_read_supported = ath79_spi_flash_read_supported;