]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.1-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jul 2023 06:51:21 +0000 (08:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jul 2023 06:51:21 +0000 (08:51 +0200)
added patches:
spi-dw-remove-misleading-comment-for-mount-evans-soc.patch

queue-6.1/series
queue-6.1/spi-dw-remove-misleading-comment-for-mount-evans-soc.patch [new file with mode: 0644]

index a765f856792e7a14ca71f62820ad684e23a72e9b..d429e34ca08c7d82eab2ec199af9c33b37934be1 100644 (file)
@@ -165,3 +165,4 @@ net-phy-prevent-stale-pointer-dereference-in-phy_ini.patch
 jbd2-recheck-chechpointing-non-dirty-buffer.patch
 tracing-histograms-return-an-error-if-we-fail-to-add-histogram-to-hist_vars-list.patch
 drm-ttm-fix-bulk_move-corruption-when-adding-a-entry.patch
+spi-dw-remove-misleading-comment-for-mount-evans-soc.patch
diff --git a/queue-6.1/spi-dw-remove-misleading-comment-for-mount-evans-soc.patch b/queue-6.1/spi-dw-remove-misleading-comment-for-mount-evans-soc.patch
new file mode 100644 (file)
index 0000000..1d70675
--- /dev/null
@@ -0,0 +1,41 @@
+From 5b6d0b91f84cff3f28724076f93f6f9e2ef8d775 Mon Sep 17 00:00:00 2001
+From: Abe Kohandel <abe.kohandel@intel.com>
+Date: Tue, 6 Jun 2023 16:18:44 -0700
+Subject: spi: dw: Remove misleading comment for Mount Evans SoC
+
+From: Abe Kohandel <abe.kohandel@intel.com>
+
+commit 5b6d0b91f84cff3f28724076f93f6f9e2ef8d775 upstream.
+
+Remove a misleading comment about the DMA operations of the Intel Mount
+Evans SoC's SPI Controller as requested by Serge.
+
+Signed-off-by: Abe Kohandel <abe.kohandel@intel.com>
+Link: https://lore.kernel.org/linux-spi/20230606191333.247ucbf7h3tlooxf@mobilestation/
+Fixes: 0760d5d0e9f0 ("spi: dw: Add compatible for Intel Mount Evans SoC")
+Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
+Link: https://lore.kernel.org/r/20230606231844.726272-1-abe.kohandel@intel.com
+Signed-off-by: Mark Brown <broonie@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/spi/spi-dw-mmio.c |    9 +--------
+ 1 file changed, 1 insertion(+), 8 deletions(-)
+
+--- a/drivers/spi/spi-dw-mmio.c
++++ b/drivers/spi/spi-dw-mmio.c
+@@ -223,14 +223,7 @@ static int dw_spi_intel_init(struct plat
+ }
+ /*
+- * The Intel Mount Evans SoC's Integrated Management Complex uses the
+- * SPI controller for access to a NOR SPI FLASH. However, the SoC doesn't
+- * provide a mechanism to override the native chip select signal.
+- *
+- * This driver doesn't use DMA for memory operations when a chip select
+- * override is not provided due to the native chip select timing behavior.
+- * As a result no DMA configuration is done for the controller and this
+- * configuration is not tested.
++ * DMA-based mem ops are not configured for this device and are not tested.
+  */
+ static int dw_spi_mountevans_imc_init(struct platform_device *pdev,
+                                     struct dw_spi_mmio *dwsmmio)