linux_dsm_epyc7002/drivers
Imre Deak c9e617a563 Input: ads7846 - handle IRQs that were latched during disabled IRQs
The pen down IRQ will toggle during each X,Y,Z measurement cycle.
Even though the IRQ is disabled it will be latched and delivered
when after enable_irq. Thus in the IRQ handler we must avoid
starting a new measurement cycle when such an "unwanted" IRQ happens.
Add a get_pendown_state platform function, which will probably
determine this by reading the current GPIO level of the pen IRQ pin.

Move the IRQ reenabling from the SPI RX function to the timer. After
the last power down message the pen IRQ pin is still active for a
while and get_pendown_state would report incorrectly a pen down state.

When suspending we should check the ts->pending flag instead of
ts->pendown, since the timer can be pending regardless of ts->pendown.
Also if ts->pending is set we can be sure that the timer is running,
so no need to rearm it. Similarly if ts->pending is not set we can
be sure that the IRQ is enabled (and the timer is not).

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2006-04-11 23:44:05 -04:00
..
acorn
acpi [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
amba
atm [PATCH] Replace 0xff.. with correct DMA_xBIT_MASK 2006-03-28 09:16:07 -08:00
base [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
block [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
bluetooth
cdrom [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
char Input: add support for Braille devices 2006-04-02 00:10:28 -05:00
connector [PATCH] sem2mutex: drivers: raw, connector, dcdbas, ppp_generic 2006-03-23 07:38:10 -08:00
cpufreq [CPUFREQ] cpufreq_conservative: keep ignore_nice_load and freq_step values when reselected 2006-03-28 12:20:18 -05:00
crypto [CRYPTO] api: Align tfm context as wide as possible 2006-03-21 20:14:08 +11:00
dio [PATCH] hp300: fix driver_register() return handling, remove dio_module_init() 2006-03-25 08:22:53 -08:00
edac [PATCH] edac_752x needs CONFIG_HOTPLUG 2006-03-31 12:18:54 -08:00
eisa [PATCH] EISA: Ignore generated file drivers/eisa/devlist.h 2006-03-25 08:23:01 -08:00
fc4
firmware [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
hwmon [PATCH] s/;;/;/g 2006-03-24 07:33:24 -08:00
i2c [PATCH] RTC subsystem: I2C cleanup 2006-03-27 08:44:51 -08:00
ide [PATCH] LED: Add IDE disk activity LED trigger 2006-03-31 12:18:57 -08:00
ieee1394 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-03-29 11:28:30 -08:00
infiniband IB/mad: RMPP support for additional classes 2006-03-30 07:19:51 -08:00
input Input: ads7846 - handle IRQs that were latched during disabled IRQs 2006-04-11 23:44:05 -04:00
isdn [PATCH] ISDN: fix a few memory leaks in sc_ioctl() 2006-03-31 12:18:56 -08:00
leds [PATCH] LED: Add IDE disk activity LED trigger 2006-03-31 12:18:57 -08:00
macintosh Merge ../linux-2.6 2006-03-29 13:24:50 +11:00
mca
md [PATCH] md: Raid-6 did not create sysfs entries for stripe cache 2006-03-31 12:19:01 -08:00
media [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
message [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
mfd [PATCH] show MCP menu only on ARCH_SA1100 2006-03-24 07:33:28 -08:00
misc [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
mmc [MMC] Pass -DDEBUG on compiler command line if MMC_DEBUG selected 2006-03-29 09:30:20 +01:00
mtd [PATCH] LED: add NAND MTD activity LED trigger 2006-03-31 12:18:57 -08:00
net [PATCH] 3c59x: fix networking for 10base2 NICs 2006-03-31 12:18:55 -08:00
nubus
oprofile [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
parisc [PARISC] I/O-Space must be ioremap_nocache()'d 2006-03-30 17:48:42 +00:00
parport [PATCH] pnp: parport: adjust pnp_register_driver signature 2006-03-27 08:44:52 -08:00
pci [PATCH] sem2mutex: misc static one-file mutexes 2006-03-26 08:56:55 -08:00
pcmcia [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
pnp [PATCH] pnp: PNP: adjust pnp_register_driver signature 2006-03-27 08:44:53 -08:00
rapidio
rtc [PATCH] RTC subsystem: M48T86 driver 2006-03-27 08:44:52 -08:00
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-03-26 09:41:18 -08:00
sbus [SPARC]: Respect vm_page_prot in io_remap_page_range(). 2006-03-22 01:15:13 -08:00
scsi Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev 2006-03-31 12:28:01 -08:00
serial Merge master.kernel.org:/home/rmk/linux-2.6-serial 2006-03-31 21:36:51 -08:00
sh
sn Pull sem2mutex-ioc4 into release branch 2006-03-21 08:17:15 -08:00
spi
tc [PATCH] kill _INLINE_ 2006-03-23 07:38:16 -08:00
telephony [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
usb Manual merge with Linus. 2006-04-02 00:08:05 -05:00
video [PATCH] fbdev: Remove old radeon driver 2006-03-31 12:19:01 -08:00
w1 fix typos "wich" -> "which" 2006-03-24 18:23:14 +01:00
zorro [PATCH] amiga: fix driver_register() return handling, remove zorro_module_init() 2006-03-25 08:22:53 -08:00
Kconfig [PATCH] LED: add LED class 2006-03-31 12:18:56 -08:00
Makefile Manual merge with Linus. 2006-04-02 00:08:05 -05:00