mediatek: refresh patches for Linux 5.15
[openwrt/staging/mkresin.git] / target / linux / mediatek / patches-5.15 / 120-07-v5.18-spi-spi-mem-Add-an-ecc-parameter-to-the-spi_mem_op-s.patch
index fd9e9e2c482fdd9a53e797b9f38a01666edbfee5..6d7e47650b2da17144e289e421c7b11a71619c24 100644 (file)
@@ -26,11 +26,9 @@ Link: https://lore.kernel.org/linux-mtd/20220127091808.1043392-7-miquel.raynal@b
  include/linux/spi/spi-mem.h | 4 ++++
  2 files changed, 9 insertions(+)
 
-diff --git a/drivers/spi/spi-mem.c b/drivers/spi/spi-mem.c
-index ed966d8129eb..f38ac31961c9 100644
 --- a/drivers/spi/spi-mem.c
 +++ b/drivers/spi/spi-mem.c
-@@ -178,6 +178,11 @@ bool spi_mem_default_supports_op(struct spi_mem *mem,
+@@ -178,6 +178,11 @@ bool spi_mem_default_supports_op(struct
                        return false;
        }
  
@@ -42,8 +40,6 @@ index ed966d8129eb..f38ac31961c9 100644
        return spi_mem_check_buswidth(mem, op);
  }
  EXPORT_SYMBOL_GPL(spi_mem_default_supports_op);
-diff --git a/include/linux/spi/spi-mem.h b/include/linux/spi/spi-mem.h
-index 4a1bfe689872..2ba044d0d5e5 100644
 --- a/include/linux/spi/spi-mem.h
 +++ b/include/linux/spi/spi-mem.h
 @@ -89,6 +89,7 @@ enum spi_mem_data_dir {
@@ -74,6 +70,3 @@ index 4a1bfe689872..2ba044d0d5e5 100644
  };
  
  #define spi_mem_controller_is_capable(ctlr, cap)      \
--- 
-2.35.1
-