All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/14] Staging:iio: Cleanup and refactor pre multibuffer.
@ 2012-04-18 13:13 Jonathan Cameron
  2012-04-18 13:13 ` [PATCH 01/14] staging:iio:buffer trivial use of strtobool to remove dodgy equivalent Jonathan Cameron
                   ` (14 more replies)
  0 siblings, 15 replies; 17+ messages in thread
From: Jonathan Cameron @ 2012-04-18 13:13 UTC (permalink / raw)
  To: linux-iio; +Cc: lars, Jonathan Cameron

Sits on top of the series

[PATCH 00/16 V3] IIO: Make the value attribute optional for channels
 
This series consists of the first chunk of what was
[PATCH 1/4] staging:iio: make all buffer access pass through the buffer_list
As Lars-Peter rightly pointed out that patch was a whole mess of different
elements all bunged in together.

I believe this lot are all fairly uncontroversial unless I have trashed
a driver by accident. (which is entirely plausible).

There are a few temporary frigs in here to ensure some of the cached
values are correct before we put the real change in place.
For example the scan_timestamp gets cached both in the core and in the
buffers. For this change it would have made sense to drop it from the
buffers but then we'd just end up putting it back again a few patches
later.

Anyhow, please do take a look at what we have here.  Some are
trivial, but there are a good few driver reworks that could do
with testing (as I'll almost guarantee I've messed something up
ripping the original large patch apart!)

Thanks,

Jonathan Cameron 

Jonathan Cameron (14):
  staging:iio:buffer trivial use of strtobool to remove dodgy
    equivalent.
  staging:iio:buffer: pull computation of scan length into a utility
    function.
  staging:iio: scan_index_timestamp move to iio_dev from buffer
  staging:iio: add caching of the number of bytes in a scan.
  staging:iio:adc:ad7192 make use of iio_sw_buffer_preenable.
  staging:iio:adc:ad7298 use iio_sw_buffer_preenable to avoid code
    repitition.
  staging:iio:adc:ad7476 use iio_sw_buffer_preenable instead of local
    version.
  staging:iio:adc:ad7793 use iio_sw_buffer_preenable to avoid
    repitition.
  staging:iio:adc:ad7887 make use of iio_sw_buffer_preenable.
  staging:iio:adc:ad799x use iio_sw_buffer_preenable to avoid code
    repitiion
  staging:iio:meter:ad7758 use iio_sw_buffer_preenable to avoid code
    repition
  staging:iio:impedance-analyser make use of iio_sw_buffer_preenable
  staging:iio: Add caching of scan_timestamp to the core as well as
    buffers.
  staging:iio: pull out demux cleanup for a particular buffer.

 drivers/staging/iio/accel/adis16201_ring.c      |    5 +-
 drivers/staging/iio/accel/adis16203_ring.c      |    5 +-
 drivers/staging/iio/accel/adis16204_ring.c      |    5 +-
 drivers/staging/iio/accel/adis16209_ring.c      |    6 +-
 drivers/staging/iio/accel/adis16240_ring.c      |    5 +-
 drivers/staging/iio/accel/lis3l02dq_ring.c      |    6 +-
 drivers/staging/iio/adc/ad7192.c                |   24 ++------
 drivers/staging/iio/adc/ad7298.h                |    1 -
 drivers/staging/iio/adc/ad7298_ring.c           |   26 +++------
 drivers/staging/iio/adc/ad7476.h                |    1 -
 drivers/staging/iio/adc/ad7476_ring.c           |   38 +-----------
 drivers/staging/iio/adc/ad7606_ring.c           |    8 +--
 drivers/staging/iio/adc/ad7793.c                |   23 ++------
 drivers/staging/iio/adc/ad7887.h                |    1 -
 drivers/staging/iio/adc/ad7887_ring.c           |   25 ++------
 drivers/staging/iio/adc/ad799x.h                |    1 -
 drivers/staging/iio/adc/ad799x_ring.c           |   24 +-------
 drivers/staging/iio/adc/max1363_ring.c          |    4 +-
 drivers/staging/iio/buffer.h                    |    2 -
 drivers/staging/iio/gyro/adis16260_ring.c       |    5 +-
 drivers/staging/iio/iio.h                       |    6 ++
 drivers/staging/iio/iio_simple_dummy_buffer.c   |   11 +--
 drivers/staging/iio/impedance-analyzer/ad5933.c |   11 +---
 drivers/staging/iio/imu/adis16400_ring.c        |    4 +-
 drivers/staging/iio/industrialio-buffer.c       |   69 +++++++++++++++--------
 drivers/staging/iio/meter/ade7758_ring.c        |   22 ++-----
 26 files changed, 121 insertions(+), 217 deletions(-)


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

end of thread, other threads:[~2012-04-21  9:10 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-18 13:13 [PATCH 00/14] Staging:iio: Cleanup and refactor pre multibuffer Jonathan Cameron
2012-04-18 13:13 ` [PATCH 01/14] staging:iio:buffer trivial use of strtobool to remove dodgy equivalent Jonathan Cameron
2012-04-18 13:13 ` [PATCH 02/14] staging:iio:buffer: pull computation of scan length into a utility function Jonathan Cameron
2012-04-18 13:13 ` [PATCH 03/14] staging:iio: scan_index_timestamp move to iio_dev from buffer Jonathan Cameron
2012-04-18 13:13 ` [PATCH 04/14] staging:iio: add caching of the number of bytes in a scan Jonathan Cameron
     [not found]   ` <4F91944F.3070701@metafoo.de>
2012-04-20 17:02     ` Jonathan Cameron
2012-04-18 13:13 ` [PATCH 05/14] staging:iio:adc:ad7192 make use of iio_sw_buffer_preenable Jonathan Cameron
2012-04-18 13:13 ` [PATCH 06/14] staging:iio:adc:ad7298 use iio_sw_buffer_preenable to avoid code repitition Jonathan Cameron
2012-04-18 13:13 ` [PATCH 07/14] staging:iio:adc:ad7476 use iio_sw_buffer_preenable instead of local version Jonathan Cameron
2012-04-18 13:13 ` [PATCH 08/14] staging:iio:adc:ad7793 use iio_sw_buffer_preenable to avoid repitition Jonathan Cameron
2012-04-18 13:13 ` [PATCH 09/14] staging:iio:adc:ad7887 make use of iio_sw_buffer_preenable Jonathan Cameron
2012-04-18 13:13 ` [PATCH 10/14] staging:iio:adc:ad799x use iio_sw_buffer_preenable to avoid code repitiion Jonathan Cameron
2012-04-18 13:13 ` [PATCH 11/14] staging:iio:meter:ad7758 use iio_sw_buffer_preenable to avoid code repition Jonathan Cameron
2012-04-18 13:13 ` [PATCH 12/14] staging:iio:impedance-analyser make use of iio_sw_buffer_preenable Jonathan Cameron
2012-04-18 13:13 ` [PATCH 13/14] staging:iio: Add caching of scan_timestamp to the core as well as buffers Jonathan Cameron
2012-04-18 13:13 ` [PATCH 14/14] staging:iio: pull out demux cleanup for a particular buffer Jonathan Cameron
     [not found] ` <4F919648.2070503@metafoo.de>
2012-04-21  9:10   ` [PATCH 00/14] Staging:iio: Cleanup and refactor pre multibuffer Jonathan Cameron

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.