RE: [PATCH 2/3] staging:iio: Switch the channel masks to bitmaps so as to allow for more channels.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Cameron wrote on 2011-07-25:
> This is as light as possible on changes to current drivers.
> Some drivers make assumptions that their masks fit in a single long.
> Given they were previously working this is clearly valid if not tidy.

100% agreed.

> The max1363 is an example where there should be no such assumptions.
>
> Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxx>
Acked-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
> ---
>  drivers/staging/iio/accel/lis3l02dq_ring.c |    5 +-
>  drivers/staging/iio/adc/ad7298_ring.c      |    4 +-
>  drivers/staging/iio/adc/ad7793.c           |   18 ++++--
>  drivers/staging/iio/adc/ad7887.h           |    4 +-
>  drivers/staging/iio/adc/ad7887_ring.c      |   10 ++-
>  drivers/staging/iio/adc/ad799x.h           |    4 +-
>  drivers/staging/iio/adc/ad799x_core.c      |    2 +-
>  drivers/staging/iio/adc/ad799x_ring.c      |   18 ++----
>  drivers/staging/iio/adc/max1363.h          |    8 ++-
>  drivers/staging/iio/adc/max1363_core.c     |   37 ++++++-----
>  drivers/staging/iio/adc/max1363_ring.c     |   22 ++++----
>  drivers/staging/iio/iio.h                  |    3 +-
>  drivers/staging/iio/imu/adis16400_ring.c   |    9 ++-
>  drivers/staging/iio/industrialio-ring.c    |   91

Greetings,
Michael

--
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368; Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin, Margaret Seif



--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux