android_kernel_oneplus_msm8998/drivers/pinctrl
Thomas Gleixner 792f1fe5ec pinctrl: samsung: Remove bogus irq_[un]mask from resource management
commit 3fa53ec2ed885b0aec3f0472e3b4a8a6f1cd748c upstream.

The irq chip callbacks irq_request/release_resources() have absolutely no
business with masking and unmasking the irq.

The core code unmasks the interrupt after complete setup and masks it
before invoking irq_release_resources().

The unmask is actually harmful as it happens before the interrupt is
completely initialized in __setup_irq().

Remove it.

Fixes: f6a8249f9e ("pinctrl: exynos: Lock GPIOs as interrupts when used as EINTs")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: linux-gpio@vger.kernel.org
Acked-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-16 13:40:30 -07:00
..
bcm pinctrl-bcm2835: Fix cut-and-paste error in "pull" parsing 2016-04-12 09:08:37 -07:00
berlin pinctrl: berlin-bg4ct: fix the value for "sd1a" of pin SCRD0_CRD_PRES 2017-06-17 06:39:37 +02:00
freescale pinctrl: mxs: atomically switch mux and drive strength config 2017-07-15 11:57:46 +02:00
intel pinctrl: cherryview: Do not mask all interrupts in probe 2017-03-26 12:13:17 +02:00
mediatek pinctrl: mediatek: fix dual-edge code defect 2016-06-24 10:18:20 -07:00
meson pinctrl: meson: meson8b: fix the NAND DQS pins 2017-07-15 11:57:46 +02:00
mvebu Here is the bulk of pin control changes for the v4.2 series: 2015-06-24 19:21:02 -07:00
nomadik pinctrl: nomadik: fix pull debug print inversion 2016-04-20 15:42:08 +09:00
qcom pinctrl: qcom: Don't clear status bit on irq_unmask 2017-03-31 09:49:53 +02:00
samsung pinctrl: samsung: Remove bogus irq_[un]mask from resource management 2017-08-16 13:40:30 -07:00
sh-pfc pinctrl: sh-pfc: Update info pointer after SoC-specific init 2017-07-15 11:57:46 +02:00
sirf pinctrl: atlas7: support atlas7 step B changes 2015-10-16 21:56:07 +02:00
spear genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
sunxi pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver 2017-08-16 13:40:30 -07:00
uniphier pinctrl: uniphier: fix .pin_dbg_show() callback 2016-10-07 15:23:41 +02:00
vt8500 pinctrl: replace trivial implementations of gpio_chip request/free 2015-10-16 22:20:21 +02:00
core.c drivers/pinctrl: Add the concept of an "init" state 2015-10-27 11:24:23 +01:00
core.h
devicetree.c pinctrl: simplify of_pinctrl_get() 2015-07-16 09:39:03 +02:00
devicetree.h
Kconfig pinctrl: remove redundant if conditional from Kconfig 2015-11-17 11:47:47 +01:00
Makefile pinctrl: uniphier: guard uniphier directory with CONFIG_PINCTRL_UNIPHIER 2015-10-31 22:13:07 +01:00
pinconf-generic.c pinctrl: pinconf-generic: add "input-schmitt" DT property 2015-10-02 15:09:11 -07:00
pinconf.c pinctrl: pinconf: remove needless loop 2015-10-31 22:13:07 +01:00
pinconf.h
pinctrl-adi2-bf54x.c
pinctrl-adi2-bf60x.c added tabs instead of spaces 2015-07-16 09:39:01 +02:00
pinctrl-adi2.c pinctrl: replace trivial implementations of gpio_chip request/free 2015-10-16 22:20:21 +02:00
pinctrl-adi2.h
pinctrl-amd.c pinctrl/amd: Remove the default de-bounce time 2016-09-07 08:32:41 +02:00
pinctrl-amd.h
pinctrl-as3722.c pinctrl: replace trivial implementations of gpio_chip request/free 2015-10-16 22:20:21 +02:00
pinctrl-at91-pio4.c pinctrl: at91-pio4: use %pr format string for resource 2016-09-24 10:07:42 +02:00
pinctrl-at91.c This is the bulk of GPIO changes for v4.4: 2015-11-02 12:59:12 -08:00
pinctrl-at91.h
pinctrl-coh901.c pinctrl: replace trivial implementations of gpio_chip request/free 2015-10-16 22:20:21 +02:00
pinctrl-coh901.h
pinctrl-digicolor.c pinctrl: replace trivial implementations of gpio_chip request/free 2015-10-16 22:20:21 +02:00
pinctrl-falcon.c
pinctrl-lantiq.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-lantiq.h
pinctrl-lpc18xx.c This is the bulk of pin control changes for the v4.3 development 2015-09-04 10:22:09 -07:00
pinctrl-palmas.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-pistachio.c pinctrl: pistachio: fix mfio pll_lock pinmux 2016-09-24 10:07:41 +02:00
pinctrl-rockchip.c This is the bulk of GPIO changes for v4.4: 2015-11-02 12:59:12 -08:00
pinctrl-single.c pinctrl: single: Fix missing flush of posted write for a wakeirq 2016-08-10 11:49:27 +02:00
pinctrl-st.c pinctrl: replace trivial implementations of gpio_chip request/free 2015-10-16 22:20:21 +02:00
pinctrl-tb10x.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-tegra-xusb.c pinctrl: tegra-xusb: Correct lane mux options 2015-10-27 17:06:23 +01:00
pinctrl-tegra.c pinctrl: tegra: Only set the gpio range if needed 2015-08-13 16:24:33 +02:00
pinctrl-tegra.h
pinctrl-tegra20.c
pinctrl-tegra30.c
pinctrl-tegra114.c
pinctrl-tegra124.c
pinctrl-tegra210.c
pinctrl-tz1090-pdc.c pinctrl: tz1090-pdc: Remove unneded semicolons 2015-10-02 04:06:46 -07:00
pinctrl-tz1090.c pinctrl: tz1090: Remove unneded semicolons 2015-10-02 04:06:46 -07:00
pinctrl-u300.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c pinctrl: replace trivial implementations of gpio_chip request/free 2015-10-16 22:20:21 +02:00
pinctrl-zynq.c pinctrl: zynq: fix UTF-8 errors 2015-10-31 22:12:59 +01:00
pinmux.c pinctrl: join lines that can be a single line within 80 columns 2015-09-14 09:13:43 +02:00
pinmux.h