android_kernel_google_msm/drivers
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
..
accessibility
acpi
amba
ata
atm
auxdisplay
base PM / Sleep: Prevent waiting forever on asynchronous suspend after abort 2013-03-04 12:44:13 -08:00
bcma
block
bluetooth Bluetooth: hci_ath: Support BT Power Save mode on AR3002 2013-02-27 18:20:40 -08:00
cdrom
char diag: Increase HSIC throughput by implementing multiple simultaneous 2013-03-04 12:45:20 -08:00
clk clkdev: Remove __init marking from clkdev_add_table() 2013-02-27 18:12:39 -08:00
clocksource
connector
coresight coresight: fix whitespace in coresight drivers 2013-02-27 18:20:33 -08:00
cpufreq cpufreq: Fix panic when setting sampling rate 2013-02-27 18:16:29 -08:00
cpuidle
crypto crypto: Add support for crypto engine 5.0 2013-02-27 18:18:16 -08:00
dca
devfreq
dio
dma
edac
eisa
firewire
firmware
gpio gpio: msm: do not re-enable the interrupt and clear the status 2013-03-04 12:45:28 -08:00
gpu [ARM] msm: kgsl: replace vmalloc with kmalloc 2013-03-04 12:43:03 -08:00
gud mobicore: Create branch that uses interrupt 280 2013-02-27 18:17:50 -08:00
hid HID: uhid: Fix sending events with invalid data 2013-03-04 12:45:11 -08:00
hsi
hv
hwmon pm8xxx-adc: add the functions to set tuning parameters 2013-03-04 12:44:20 -08:00
hwspinlock
i2c qup_i2c: set up node before calling of_i2c_register_devices 2013-02-27 18:20:44 -08:00
ide
idle
ieee802154
infiniband target: Rename target_allocate_tasks to target_setup_cmd_from_cdb 2013-02-27 18:12:37 -08:00
input mako: touch: error checking for firmware update 2013-03-04 12:45:19 -08:00
iommu msm: iommu: Support alternate core clocks 2013-02-27 18:17:39 -08:00
isdn
leds leds: pm8xxx: change calculation of blinking period and on/off timing 2013-03-04 12:44:58 -08:00
lguest
macintosh
mca
md
media camera: imx111(rear): fix unsupported packet format error in csic 2013-03-04 12:45:00 -08:00
memstick
message
mfd msm: wcd9xxx: add device tree support for codec slimbus component 2013-02-27 18:20:08 -08:00
misc slimport: Add slimport detection function 2013-03-04 12:45:23 -08:00
mmc mako: fix compile error without PM_RUNTIME 2013-03-04 12:43:47 -08:00
mtd mtd: msm_qpic_nand: Initial driver for QPIC based NAND controller 2013-02-27 18:17:42 -08:00
net net: rmnet_usb: Enable remote wakeup for root hub 2013-02-27 18:19:28 -08:00
nfc mako: nfc: add new nfc broadcom driver 2013-03-04 12:43:35 -08:00
nubus
of slimbus: Initiialize device tree node of slimbus slave devices 2013-02-27 18:18:47 -08:00
oprofile
parisc
parport
pci
pcmcia
pinctrl
platform platform: msm: Add driver for QPNP PMIC clkdiv peripherals 2013-02-27 18:21:35 -08:00
pnp
power power: battery: fix charging current restoration 2013-03-04 12:45:17 -08:00
pps
ps3
ptp
rapidio
regulator regulator: qpnp: Add property to override type registers 2013-02-27 18:20:12 -08:00
remoteproc
rpmsg
rtc RTC: Add QPNP rtc driver 2013-02-27 18:16:09 -08:00
s390
sbus
scsi
sfi
sh
slimbus slimbus: Decrement channel reference during reconfigure now 2013-03-04 12:44:18 -08:00
sn
spi spi_qsd: set bus number based on the cell-index property 2013-02-27 18:21:33 -08:00
spmi spmi: pmic-arb: Fix multibyte transfer bug and enforce buffer len 2013-02-27 18:19:21 -08:00
ssb
staging prima: WLAN Driver Release v3.2.0.10 2013-03-04 12:45:26 -08:00
switch switch: fsa8008: fix to detect earjack during deep sleep 2013-03-04 12:45:14 -08:00
target target: Rename target_allocate_tasks to target_setup_cmd_from_cdb 2013-02-27 18:12:37 -08:00
tc
thermal thermal: tsens8974: Fix one point calibration offsets 2013-02-27 18:21:16 -08:00
tty Revert "msm: tty: update receive room just before writing data to the ldisc" 2013-03-04 12:44:26 -08:00
uio
usb usb: msm_otg: support for slimport charger 2013-03-04 12:45:24 -08:00
uwb
vhost
video slimport: Add slimport detection function 2013-03-04 12:45:23 -08:00
virt
virtio virtio: Decouple virtqueues and vrings 2013-02-27 18:18:30 -08:00
vlynq
w1
watchdog
xen
zorro
Kconfig coresight: rename directory and files from cs to coresight 2013-02-27 18:13:47 -08:00
Makefile coresight: rename directory and files from cs to coresight 2013-02-27 18:13:47 -08:00