Linux IIO development
 help / color / mirror / Atom feed
* [RFC PATCH] Start of move towards threaded interrupts.
@ 2011-03-04 18:05 Jonathan Cameron
  2011-03-04 18:05 ` [PATCH] RFC Staging:iio: move to threaded interrupts for events Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2011-03-04 18:05 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron

The majority of this patch splits the handling of lis3l02dq interrupts
(which all occur on one physical pin) completely.  Thus all interrupt
requests (one threaded, one not) occur on demand.

Note it's one mega patch for now.  The move to threaded interrupts for
events is going to involve some ugly temporary code in order to allow
bisectability and I'm not working out how to do that until I'm sure
we are heading in the right direction over all.

Note this will break all drivers that use the events infrastructure.

I'm not propsoing to push this change upstream until after
the merge window. For now it's just to get opinions on the
approach taken.

Does anyone have a good reason why we shouldn't move to the threaded
handlers for events as proposed here?  Triggers are a whole different
kettle of fish and now this lis3l02dq split has occured can be
addressed separately.

Jonathan Cameron (1):
  RFC Staging:iio: move to threaded interrupts for events.

 drivers/staging/iio/accel/lis3l02dq.h      |    4 +-
 drivers/staging/iio/accel/lis3l02dq_core.c |   68 ++++++++--------
 drivers/staging/iio/accel/lis3l02dq_ring.c |   96 +++++++++++++++------
 drivers/staging/iio/iio.h                  |   22 +++++-
 drivers/staging/iio/industrialio-core.c    |  124 ++++++++++++++++++++--------
 5 files changed, 214 insertions(+), 100 deletions(-)

-- 
1.7.3.4

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

end of thread, other threads:[~2011-03-04 18:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 18:05 [RFC PATCH] Start of move towards threaded interrupts Jonathan Cameron
2011-03-04 18:05 ` [PATCH] RFC Staging:iio: move to threaded interrupts for events Jonathan Cameron
2011-03-04 18:20   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox