]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop pinctl patch from 5.15 and 6.1
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Feb 2026 14:30:34 +0000 (15:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Feb 2026 14:30:34 +0000 (15:30 +0100)
queue-5.15/pinctrl-lpass-lpi-implement-.get_direction-for-the-gpio-driver.patch [deleted file]
queue-5.15/series

diff --git a/queue-5.15/pinctrl-lpass-lpi-implement-.get_direction-for-the-gpio-driver.patch b/queue-5.15/pinctrl-lpass-lpi-implement-.get_direction-for-the-gpio-driver.patch
deleted file mode 100644 (file)
index 3523b0d..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-From 4f0d22ec60cee420125f4055af76caa0f373a3fe Mon Sep 17 00:00:00 2001
-From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
-Date: Mon, 26 Jan 2026 14:56:27 +0100
-Subject: pinctrl: lpass-lpi: implement .get_direction() for the GPIO driver
-
-From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
-
-commit 4f0d22ec60cee420125f4055af76caa0f373a3fe upstream.
-
-GPIO controller driver should typically implement the .get_direction()
-callback as GPIOLIB internals may try to use it to determine the state
-of a pin. Add it for the LPASS LPI driver.
-
-Reported-by: Abel Vesa <abelvesa@kernel.org>
-Cc: stable@vger.kernel.org
-Fixes: 6e261d1090d6 ("pinctrl: qcom: Add sm8250 lpass lpi pinctrl driver")
-Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
-Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
-Tested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> # X1E CRD
-Tested-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
-Signed-off-by: Linus Walleij <linusw@kernel.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/pinctrl/qcom/pinctrl-lpass-lpi.c |   17 +++++++++++++++++
- 1 file changed, 17 insertions(+)
-
---- a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
-+++ b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
-@@ -484,6 +484,22 @@ static const struct pinconf_ops lpi_gpio
-       .pin_config_group_set           = lpi_config_set,
- };
-+static int lpi_gpio_get_direction(struct gpio_chip *chip, unsigned int pin)
-+{
-+      unsigned long config = pinconf_to_config_packed(PIN_CONFIG_LEVEL, 0);
-+      struct lpi_pinctrl *state = gpiochip_get_data(chip);
-+      unsigned long arg;
-+      int ret;
-+
-+      ret = lpi_config_get(state->ctrl, pin, &config);
-+      if (ret)
-+              return ret;
-+
-+      arg = pinconf_to_config_argument(config);
-+
-+      return arg ? GPIO_LINE_DIRECTION_OUT : GPIO_LINE_DIRECTION_IN;
-+}
-+
- static int lpi_gpio_direction_input(struct gpio_chip *chip, unsigned int pin)
- {
-       struct lpi_pinctrl *state = gpiochip_get_data(chip);
-@@ -582,6 +598,7 @@ static void lpi_gpio_dbg_show(struct seq
- #endif
- static const struct gpio_chip lpi_gpio_template = {
-+      .get_direction          = lpi_gpio_get_direction,
-       .direction_input        = lpi_gpio_direction_input,
-       .direction_output       = lpi_gpio_direction_output,
-       .get                    = lpi_gpio_get,
index 96d25165a05b645c22732e693a9a2ab38b4e872d..d3a91d4e23c51273b4123a66ce2cd6433829e832 100644 (file)
@@ -148,7 +148,6 @@ net-bridge-fix-static-key-check.patch
 scsi-firewire-sbp-target-fix-overflow-in-sbp_make_tp.patch
 gpiolib-acpi-use-bit_ull-for-u64-mask-in-address-spa.patch
 dma-pool-distinguish-between-missing-and-exhausted-a.patch
-pinctrl-lpass-lpi-implement-.get_direction-for-the-gpio-driver.patch
 asoc-fsl-imx-card-do-not-force-slot-width-to-sample-width.patch
 scsi-be2iscsi-fix-a-memory-leak-in-beiscsi_boot_get_sinfo.patch
 scsi-qla2xxx-edif-fix-dma_free_coherent-size.patch