android_kernel_xiaomi_sm7250/drivers/pinctrl/mvebu
Gregory CLEMENT 935057b020 pinctrl: armada-37xx: Fix irq mask access in armada_37xx_irq_set_type()
commit 04fb02757ae5188031eb71b2f6f189edb1caf5dc upstream.

As explained in the following commit a9a1a48336 ("pinctrl:
armada-37xx: Fix gpio interrupt setup") the armada_37xx_irq_set_type()
function can be called before the initialization of the mask field.

That means that we can't use this field in this function and need to
workaround it using hwirq.

Fixes: 30ac0d3b07 ("pinctrl: armada-37xx: Add edge both type gpio irq support")
Cc: stable@vger.kernel.org
Reported-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Link: https://lore.kernel.org/r/20191115155752.2562-1-gregory.clement@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-17 20:35:07 +01:00
..
Kconfig pinctrl: mvebu: add driver for Armada CP110 pinctrl 2017-06-16 11:23:36 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pinctrl-armada-37xx.c pinctrl: armada-37xx: Fix irq mask access in armada_37xx_irq_set_type() 2019-12-17 20:35:07 +01:00
pinctrl-armada-38x.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-39x.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-370.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-375.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-ap806.c pinctrl: mvebu: add driver for Armada AP806 pinctrl 2017-06-16 11:22:33 +02:00
pinctrl-armada-cp110.c pinctrl: mvebu: add driver for Armada CP110 pinctrl 2017-06-16 11:23:36 +02:00
pinctrl-armada-xp.c treewide: devm_kmalloc() -> devm_kmalloc_array() 2018-06-12 16:19:22 -07:00
pinctrl-dove.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-kirkwood.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-mvebu.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
pinctrl-mvebu.h pinctrl: mvebu: remove the offset property for regmap 2017-06-16 11:19:50 +02:00
pinctrl-orion.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00