All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Switch ads7846 driver to use soft irq
@ 2010-09-16 10:51 Jason Wang
  2010-09-16 10:51 ` [PATCH 1/4] Input: ads7846 - switch to using threaded IRQ Jason Wang
  2010-09-17  1:48 ` [PATCH 0/4] Switch ads7846 driver to use soft irq Jason Wang
  0 siblings, 2 replies; 19+ messages in thread
From: Jason Wang @ 2010-09-16 10:51 UTC (permalink / raw)
  To: dmitry.torokhov, notasas, vapier; +Cc: linux-input

Some explanations:

The first patch is from dmitry, he build a frame work for this driver
to use soft irq. The remaining 3 patches are from me to fix some issues
for the driver of soft irq verison.

We change this driver to use soft irq because under current version,
we must use spin lock to protect racing issues, the regulator
operations are also in the racing issue list but we can't put it
in the spin lock protected area because regulator operations always
implement via i2c/spi transfers, in those transfers often call sleep
funcitons. Now change to use soft irq, we can use mutex instread of
spin lock, so this issue is solved.

I have tested these patches on the ti_omap3530evm board:
 1)use ts_lib after normal boot
 2)use ts_lib after "#echo 1/0 > /sys/bus/spi/devices/spi0.1/disable"
 3)use ts_lib after "#echo mem > /sys/power/state" and "wake up"



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-10-19  1:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-16 10:51 [PATCH 0/4] Switch ads7846 driver to use soft irq Jason Wang
2010-09-16 10:51 ` [PATCH 1/4] Input: ads7846 - switch to using threaded IRQ Jason Wang
2010-09-16 10:51   ` [PATCH 2/4] Input: ads7846 - add a include header to prevent building fails Jason Wang
2010-09-16 10:51     ` [PATCH 3/4] Input: ads7846 - restore ADC to powerdown mode if no messgaes needed Jason Wang
2010-09-16 10:51       ` [PATCH 4/4] Input: ads7846 - modificatons of _stop()/_disable() conditions Jason Wang
2010-09-17  6:39         ` Dmitry Torokhov
2010-09-17  9:20           ` Jason Wang
2010-09-17 16:07             ` Dmitry Torokhov
2010-09-20  8:18               ` Jason Wang
2010-10-12  9:58                 ` Jason Wang
2010-10-12 16:00                   ` Dmitry Torokhov
2010-10-13  3:12                     ` Jason Wang
2010-10-13 22:17                       ` Grazvydas Ignotas
2010-10-14  2:14                         ` Jason Wang
2010-10-14 21:40                           ` Grazvydas Ignotas
2010-10-15  2:29                             ` Jason Wang
2010-10-18 23:19                               ` Tony Lindgren
2010-10-19  1:25                                 ` Jason Wang
2010-09-17  1:48 ` [PATCH 0/4] Switch ads7846 driver to use soft irq Jason Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.