android_kernel_google_msm/drivers/gpio
Ajay Dudani eb6bdd0ce2 gpio: msm: do not re-enable the interrupt and clear the status
If a gpio interrupt is already enabled, do not re-enable it again and do not
clear the interrupt status.

Before this patch: if an edge interrupt is marked as wakeup, the gpio sys
suspend will enable it.  On resume, the gpio sys resume would clear the
intr_status of the wakeup irq.  Thus, if this particular wakeup irq triggered
and woke us up, we would lose its intr_status before calling the gpio summary
handler.  Now, when the summary handler is finally called, the irq handler for
the wakeup interrupt is never called.

With this change: we are *not* re-enabling the gpio-irq again to make sure that
when the irq framework unmasks all irqs on resume, it does not clear the
intr_status.

Change-Id: Ia5a9c6b00173a56b1abbdd4d4821becb7311d7f6
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:45:28 -08:00
..
devres.c
gpio-74x164.c
gpio-ab8500.c
gpio-adp5520.c
gpio-adp5588.c gpio: Fix uninitialized variable bit in adp5588_irq_handler 2012-04-10 14:20:55 -06:00
gpio-bt8xx.c
gpio-cs5535.c
gpio-da9052.c
gpio-davinci.c gpio/davinci: fix enabling unbanked GPIO IRQs 2012-03-12 11:53:33 -06:00
gpio-ep93xx.c GPIO changes for v3.4 2012-03-28 14:08:46 -07:00
gpio-fsm9xxx.c gpio: Add fsm9xxx driver 2013-02-25 11:29:33 -08:00
gpio-ge.c powerpc/85xx: Board support for GE IMP3A 2012-03-16 11:15:48 -05:00
gpio-generic.c
gpio-it8761e.c
gpio-janz-ttl.c
gpio-ks8695.c
gpio-langwell.c
gpio-lpc32xx.c GPIO: LPC32xx: Add output reading to GPO P3 2012-03-12 11:25:30 -06:00
gpio-max730x.c
gpio-max732x.c
gpio-max7300.c
gpio-max7301.c
gpio-mc9s08dz60.c
gpio-mc33880.c
gpio-mcp23s08.c
gpio-ml-ioh.c
gpio-mpc8xxx.c irq_domain/powerpc: Replace custom xlate functions with library functions 2012-02-16 06:11:24 -07:00
gpio-mpc5200.c
gpio-msm-common.c gpio: msm: do not re-enable the interrupt and clear the status 2013-03-04 12:45:28 -08:00
gpio-msm-common.h gpio: msm: do not re-enable the interrupt and clear the status 2013-03-04 12:45:28 -08:00
gpio-msm-v1.c gpio: Add MSM gpio drivers 2013-02-25 11:29:37 -08:00
gpio-msm-v2.c gpio: msm: do not re-enable the interrupt and clear the status 2013-03-04 12:45:28 -08:00
gpio-msm-v3.c gpio: msm: do not re-enable the interrupt and clear the status 2013-03-04 12:45:28 -08:00
gpio-mxc.c
gpio-mxs.c
gpio-nomadik.c
gpio-omap.c gpio/omap: fix incorrect initialization of omap_gpio_mod_init 2012-05-10 07:16:15 -07:00
gpio-pca953x.c
gpio-pcf857x.c
gpio-pch.c gpio: pch9: Use proper flow type handlers 2012-05-11 18:18:50 -06:00
gpio-pl061.c gpio/gpio-pl061: No need of thaw and poweroff routines for hibernate 2012-02-16 06:37:51 -07:00
gpio-pm8xxx-rpc.c gpio: Add pm8xxx RPC gpio driver 2013-02-25 11:29:35 -08:00
gpio-pxa.c ARM: pxa: fix gpio wakeup setting 2012-04-27 10:46:45 +08:00
gpio-rdc321x.c
gpio-sa1100.c ARM: 7342/2: sa1100: prepare for sparse irq conversion 2012-03-25 23:57:20 +01:00
gpio-samsung.c gpio/exynos: Fix compiler warnings when non-exynos machines are selected 2012-05-11 18:25:53 -06:00
gpio-sch.c
gpio-sodaville.c gpio/sodaville: Convert sodaville driver to new irqdomain API 2012-04-10 14:20:55 -06:00
gpio-stmpe.c GPIO changes for v3.4 2012-03-28 14:08:46 -07:00
gpio-sx150x.c gpio: sx150x: Drop address from copyright header 2013-02-25 11:29:36 -08:00
gpio-tc3589x.c
gpio-tegra.c gpio: tegra: Iterate over the correct number of banks 2012-04-04 13:13:18 -06:00
gpio-timberdale.c
gpio-tnetv107x.c
gpio-tps65910.c
gpio-tps65912.c
gpio-twl4030.c gpio/twl: Add DT support to gpio-twl4030 driver 2012-03-22 13:05:55 +01:00
gpio-ucb1400.c
gpio-vr41xx.c
gpio-vx855.c
gpio-wm831x.c
gpio-wm8350.c
gpio-wm8994.c
gpio-xilinx.c
gpiolib.c gpiolib: Add comments explaining the _cansleep() WARN_ON()s 2012-03-05 08:05:08 -07:00
Kconfig msm: 8974: rename copper to 8974 2013-02-27 18:14:01 -08:00
Makefile gpio: qpnp-gpio: Rename driver to qpnp-pin 2013-02-27 18:13:12 -08:00
pm8xxx-gpio.c gpio: pm8xxx-gpio: Add pm8xxx gpio driver 2013-02-25 11:29:34 -08:00
pm8xxx-mpp.c mfd: pm8xxx-mpp: Add pm8xxx MPP driver 2013-02-25 11:29:34 -08:00
qpnp-pin.c gpio: qpnp-pin: Properly mask gpio get value 2013-02-27 18:21:31 -08:00