]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop queue-5.10/mtd-rawnand-arasan-fix-missing-de-registration-of-nand.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 17:09:20 +0000 (18:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 17:09:20 +0000 (18:09 +0100)
queue-5.10/mtd-rawnand-arasan-fix-missing-de-registration-of-nand.patch [deleted file]
queue-5.10/series

diff --git a/queue-5.10/mtd-rawnand-arasan-fix-missing-de-registration-of-nand.patch b/queue-5.10/mtd-rawnand-arasan-fix-missing-de-registration-of-nand.patch
deleted file mode 100644 (file)
index 6ee0c2e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-From 11e6831fd81468cf48155b9b3c11295c391da723 Mon Sep 17 00:00:00 2001
-From: Maciej Andrzejewski <maciej.andrzejewski@m-works.net>
-Date: Mon, 2 Dec 2024 19:58:36 +0100
-Subject: mtd: rawnand: arasan: Fix missing de-registration of NAND
-
-From: Maciej Andrzejewski <maciej.andrzejewski@m-works.net>
-
-commit 11e6831fd81468cf48155b9b3c11295c391da723 upstream.
-
-The NAND chip-selects are registered for the Arasan driver during
-initialization but are not de-registered when the driver is unloaded. As a
-result, if the driver is loaded again, the chip-selects remain registered
-and busy, making them unavailable for use.
-
-Fixes: 197b88fecc50 ("mtd: rawnand: arasan: Add new Arasan NAND controller")
-Cc: stable@vger.kernel.org
-Signed-off-by: Maciej Andrzejewski ICEYE <maciej.andrzejewski@m-works.net>
-Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/mtd/nand/raw/arasan-nand-controller.c |    7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/drivers/mtd/nand/raw/arasan-nand-controller.c
-+++ b/drivers/mtd/nand/raw/arasan-nand-controller.c
-@@ -1334,8 +1334,15 @@ disable_controller_clk:
- static int anfc_remove(struct platform_device *pdev)
- {
-+      int i;
-       struct arasan_nfc *nfc = platform_get_drvdata(pdev);
-+      for (i = 0; i < nfc->ncs; i++) {
-+              if (nfc->cs_array[i]) {
-+                      gpiod_put(nfc->cs_array[i]);
-+              }
-+      }
-+
-       anfc_chips_cleanup(nfc);
-       clk_disable_unprepare(nfc->bus_clk);
index 49809a88b17830e0b869a5068fb1a2eb1287ac72..05a9967a1f3e7a19b50fac169fd4f4892f333cc4 100644 (file)
@@ -47,7 +47,6 @@ tcp_bpf-charge-receive-socket-buffer-in-bpf_tcp_ingr.patch
 bpf-check-negative-offsets-in-__bpf_skb_min_len.patch
 nfsd-restore-callback-functionality-for-nfsv4.0.patch
 mtd-diskonchip-cast-an-operand-to-prevent-potential-overflow.patch
-mtd-rawnand-arasan-fix-missing-de-registration-of-nand.patch
 phy-core-fix-an-of-node-refcount-leakage-in-_of_phy_get.patch
 phy-core-fix-an-of-node-refcount-leakage-in-of_phy_provider_lookup.patch
 phy-core-fix-that-api-devm_phy_put-fails-to-release-the-phy.patch