linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/24] Drop the IIO_ST macro for setting scan_type elements.
@ 2013-12-11 18:45 Jonathan Cameron
  2013-12-11 18:45 ` [PATCH 01/24] staging:iio:mag:hmc5843 fix incorrect endianness of channel as a result of missuse of the IIO_ST macro Jonathan Cameron
                   ` (24 more replies)
  0 siblings, 25 replies; 33+ messages in thread
From: Jonathan Cameron @ 2013-12-11 18:45 UTC (permalink / raw)
  To: linux-iio; +Cc: lars, pmeerw, o.v.kravchenko, stigge, Jonathan Cameron

This macro is no longer fit for purpose given it doesn't allow the endianness
of the element to be set. Missuse of the macro has also been responsible for
a couple of bugs including some fixed in this series.

If everyone is happy I'll be apply the fixes through the fixes-togreg branch
and follow up with the others after those have worked their way through.

Please do check the fixes in particular as I'm not entirely sure they are
correct (particularly the ad7887 which gave me a headache on a train last
night at the end of a very long day).

Thanks,

Jonathan

Jonathan Cameron (24):
  staging:iio:mag:hmc5843 fix incorrect endianness of channel as a
    result of missuse of the IIO_ST macro.
  iio:imu:adis16400 fix pressure channel scan type
  iio:adc:ad7887 Fix channel reported endianness from cpu to big endian
  iio:accel:bma180 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:mag:mag3110 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5064 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5360 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5380 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5421 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5446 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5449 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5504 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5624r replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5686 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5755 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5764 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:ad5791 replaces IIO_ST macro with explicit entries to struct
    scan_type
  iio:dac:max517 drop specification of scan type as unused in this
    driver.
  iio:dac:mcp4725 drop specification of scan type as unused in this
    driver.
  iio:light:adjd_s311 replaces IIO_ST macro with explicit entries to
    struct scan_type
  iio:light:tcs3472 replaces IIO_ST macro with explicit entries to
    struct scan_type
  staging:iio:ad7606 replaces IIO_ST macro with explicit entries to
    struct scan_type
  staging:iio:ad799x replaces IIO_ST macro with explicit entries to
    struct scan_type
  iio:drop IIO_ST macro

 drivers/iio/accel/bma180.c                 |  7 ++++++-
 drivers/iio/adc/ad7887.c                   | 16 ++++++++++++++--
 drivers/iio/dac/ad5064.c                   |  7 ++++++-
 drivers/iio/dac/ad5360.c                   |  7 ++++++-
 drivers/iio/dac/ad5380.c                   |  7 ++++++-
 drivers/iio/dac/ad5421.c                   |  6 +++++-
 drivers/iio/dac/ad5446.c                   |  9 +++++++--
 drivers/iio/dac/ad5449.c                   |  7 ++++++-
 drivers/iio/dac/ad5504.c                   |  6 +++++-
 drivers/iio/dac/ad5624r_spi.c              |  7 ++++++-
 drivers/iio/dac/ad5686.c                   |  9 +++++++--
 drivers/iio/dac/ad5755.c                   |  7 ++++++-
 drivers/iio/dac/ad5764.c                   |  7 ++++++-
 drivers/iio/dac/ad5791.c                   |  9 +++++++--
 drivers/iio/dac/max517.c                   |  1 -
 drivers/iio/dac/mcp4725.c                  |  1 -
 drivers/iio/imu/adis16400_core.c           |  7 ++++++-
 drivers/iio/light/adjd_s311.c              |  7 ++++++-
 drivers/iio/light/tcs3472.c                |  7 ++++++-
 drivers/iio/magnetometer/mag3110.c         |  6 +++++-
 drivers/staging/iio/adc/ad7606_core.c      |  7 ++++++-
 drivers/staging/iio/adc/ad799x_core.c      |  8 +++++++-
 drivers/staging/iio/magnetometer/hmc5843.c |  7 ++++++-
 include/linux/iio/iio.h                    | 16 ++++++++++------
 24 files changed, 145 insertions(+), 33 deletions(-)

-- 
1.8.4.2


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

end of thread, other threads:[~2014-02-15 10:58 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11 18:45 [PATCH 00/24] Drop the IIO_ST macro for setting scan_type elements Jonathan Cameron
2013-12-11 18:45 ` [PATCH 01/24] staging:iio:mag:hmc5843 fix incorrect endianness of channel as a result of missuse of the IIO_ST macro Jonathan Cameron
2013-12-17 20:35   ` Jonathan Cameron
2013-12-11 18:45 ` [PATCH 02/24] iio:imu:adis16400 fix pressure channel scan type Jonathan Cameron
2013-12-17 20:38   ` Jonathan Cameron
2013-12-11 18:45 ` [PATCH 03/24] iio:adc:ad7887 Fix channel reported endianness from cpu to big endian Jonathan Cameron
2013-12-17 20:38   ` Jonathan Cameron
2013-12-11 18:45 ` [PATCH 04/24] iio:accel:bma180 replaces IIO_ST macro with explicit entries to struct scan_type Jonathan Cameron
2013-12-11 18:45 ` [PATCH 05/24] iio:mag:mag3110 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 06/24] iio:dac:ad5064 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 07/24] iio:dac:ad5360 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 08/24] iio:dac:ad5380 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 09/24] iio:dac:ad5421 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 10/24] iio:dac:ad5446 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 11/24] iio:dac:ad5449 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 12/24] iio:dac:ad5504 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 13/24] iio:dac:ad5624r " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 14/24] iio:dac:ad5686 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 15/24] iio:dac:ad5755 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 16/24] iio:dac:ad5764 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 17/24] iio:dac:ad5791 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 18/24] iio:dac:max517 drop specification of scan type as unused in this driver Jonathan Cameron
2013-12-11 18:45 ` [PATCH 19/24] iio:dac:mcp4725 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 20/24] iio:light:adjd_s311 replaces IIO_ST macro with explicit entries to struct scan_type Jonathan Cameron
2013-12-11 18:45 ` [PATCH 21/24] iio:light:tcs3472 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 22/24] staging:iio:ad7606 " Jonathan Cameron
2013-12-11 18:45 ` [PATCH 23/24] staging:iio:ad799x " Jonathan Cameron
2013-12-16  8:53   ` Lars-Peter Clausen
2013-12-17 20:29     ` Jonathan Cameron
2013-12-11 18:45 ` [PATCH 24/24] iio:drop IIO_ST macro Jonathan Cameron
2014-02-15 10:58   ` Jonathan Cameron
2013-12-16  8:55 ` [PATCH 00/24] Drop the IIO_ST macro for setting scan_type elements Lars-Peter Clausen
2013-12-17 21:53   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).