linux/drivers/pinctrl/qcom
Srinivas Ramana 4b7618fdc7 pinctrl: qcom: Add irq_enable callback for msm gpio
Introduce the irq_enable callback which will be same as irq_unmask
except that it will also clear the status bit before unmask.

This will help in clearing any erroneous interrupts that would
have got latched when the interrupt is not in use.

There may be devices like UART which can use the same gpio line
for data rx as well as a wakeup gpio when in suspend. The data that
was flowing on the line may latch the interrupt and when we enable
the interrupt before going to suspend, this would trigger the
unexpected interrupt. This change helps clearing the interrupt
so that these unexpected interrupts gets cleared.

Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Link: https://lore.kernel.org/r/1561472086-23360-1-git-send-email-neeraju@codeaurora.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-07-03 10:25:53 +02:00
..
Kconfig pinctrl: qcom: sdm845: Provide ACPI support 2019-06-12 09:14:00 +02:00
Makefile pinctrl: qcom: Add qcs404 pinctrl driver 2018-09-26 09:43:01 +02:00
pinctrl-apq8064.c
pinctrl-apq8084.c
pinctrl-ipq4019.c
pinctrl-ipq8064.c
pinctrl-ipq8074.c
pinctrl-mdm9615.c
pinctrl-msm8x74.c
pinctrl-msm8660.c
pinctrl-msm8916.c
pinctrl-msm8960.c
pinctrl-msm8994.c
pinctrl-msm8996.c
pinctrl-msm8998.c
pinctrl-msm.c pinctrl: qcom: Add irq_enable callback for msm gpio 2019-07-03 10:25:53 +02:00
pinctrl-msm.h pinctrl: msm: Add ability for drivers to supply a reserved GPIO list 2019-06-12 09:12:49 +02:00
pinctrl-qcs404.c This is the bulk of pin control changes for the v5.1 kernel cycle. 2019-03-11 11:12:50 -07:00
pinctrl-qdf2xxx.c
pinctrl-sdm660.c pinctrl: sdm660: Set tile property for pingroups 2018-11-19 15:40:55 +01:00
pinctrl-sdm845.c pinctrl: qcom: sdm845: Fix CONFIG preprocessor guard 2019-06-25 16:06:23 +02:00
pinctrl-spmi-gpio.c This is the bulk of pin control changes for the v5.1 kernel cycle. 2019-03-11 11:12:50 -07:00
pinctrl-spmi-mpp.c pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux 2018-09-21 08:17:43 -07:00
pinctrl-ssbi-gpio.c qcom: ssbi-gpio: correct boundary conditions in pm8xxx_domain_translate 2019-02-14 10:03:04 +01:00
pinctrl-ssbi-mpp.c pinctrl: Include <linux/gpio/driver.h> nothing else 2018-09-14 15:10:57 +02:00