From: Greg Kroah-Hartman Date: Thu, 31 May 2018 16:04:26 +0000 (+0200) Subject: 4.16-stable patches X-Git-Tag: v4.9.106~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f01231fd6f3fe89cd0750e129c2444269bafaf3f;p=thirdparty%2Fkernel%2Fstable-queue.git 4.16-stable patches added patches: revert-pinctrl-msm-use-dynamic-gpio-numbering.patch --- diff --git a/queue-4.16/revert-pinctrl-msm-use-dynamic-gpio-numbering.patch b/queue-4.16/revert-pinctrl-msm-use-dynamic-gpio-numbering.patch new file mode 100644 index 00000000000..b7bea1f30b5 --- /dev/null +++ b/queue-4.16/revert-pinctrl-msm-use-dynamic-gpio-numbering.patch @@ -0,0 +1,36 @@ +From 534589d91a7b7e9c7ce69ace16fd149b16fa4b7f Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman +Date: Thu, 31 May 2018 17:58:13 +0200 +Subject: Revert "pinctrl: msm: Use dynamic GPIO numbering" + +From: Greg Kroah-Hartman + +This reverts commit 7d8e0341b2b93fb505cd75e8e0d4f1911d0fa0fe which is +commit a7aa75a2a7dba32594291a71c3704000a2fd7089 upstream. + +There's been too many complaints about this. Personally I think it's +going to blow up when people hit this in mainline, but hey, it's not my +systems. At least we don't have to backport the mess to the stable +kernels to give them some more life to live unscathed :) + +Reported-by: Timur Tabi +Reported-by: Sebastian Gottschall +Cc: Bjorn Andersson +Cc: Linus Walleij +Cc: Sasha Levin +Signed-off-by: Greg Kroah-Hartman +--- + drivers/pinctrl/qcom/pinctrl-msm.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/pinctrl/qcom/pinctrl-msm.c ++++ b/drivers/pinctrl/qcom/pinctrl-msm.c +@@ -818,7 +818,7 @@ static int msm_gpio_init(struct msm_pinc + return -EINVAL; + + chip = &pctrl->chip; +- chip->base = -1; ++ chip->base = 0; + chip->ngpio = ngpio; + chip->label = dev_name(pctrl->dev); + chip->parent = pctrl->dev; diff --git a/queue-4.16/series b/queue-4.16/series index 6e975e046b3..9acd2f6adb3 100644 --- a/queue-4.16/series +++ b/queue-4.16/series @@ -7,3 +7,4 @@ x86-mce-amd-carve-out-smca-get_block_address-code.patch x86-mce-amd-cache-smca-misc-block-addresses.patch drm-vmwgfx-use-kasprintf.patch drm-vmwgfx-fix-host-logging-guestinfo-reading-error-paths.patch +revert-pinctrl-msm-use-dynamic-gpio-numbering.patch