Re: [PATCH 2/7] staging:iio: remove specific chrdev for event reading. Get fd from ioctl on buffer.

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

 



On 07/26/11 09:36, Hennerich, Michael wrote:
> Jonathan Cameron wrote on 2011-07-25:
>> Change suggested by Arnd Bergmann.
>>
>> No real reason to have two chrdevs per device. This step merges them
>> into one.
>> Currently this means that events will only work on devices with
>> buffers. THat will be remedied shortly.
> 
> Will there be am iio:event instead?
> Or iio:buffer even if no buffer and we need to get the iio:event through the anon fds?
Nope. There is only one and it is called iio:deviceX.  Some stub functions should
(if I have gotten it right) ensure that you can have events and/or buffers.
Note that isn't as you've noticed the case mid way through this set.  Couldn't see
a cleaner way of doing this.  It only all should work after patch 5.
> 
>> V2: set name for event attribute groups.  Otherwise they all sorts of
>> fun occurs on dynamic channel event attribute creation.
>>
>> Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxx>
> Acked-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
>> ---
>>  drivers/staging/iio/accel/sca3000_core.c |    1 +
>>  drivers/staging/iio/adc/ad7150.c         |    1 +
>>  drivers/staging/iio/adc/ad7745.c         |    1 +
>>  drivers/staging/iio/adc/ad7816.c         |    1 +
>>  drivers/staging/iio/adc/ad799x_core.c    |    2 +
>>  drivers/staging/iio/adc/adt7310.c        |    2 +
>>  drivers/staging/iio/adc/adt7410.c        |    2 +
>>  drivers/staging/iio/adc/adt75.c          |    1 +
>>  drivers/staging/iio/adc/max1363_core.c   |    4 +-
>>  drivers/staging/iio/addac/adt7316.c      |    2 +
>>  drivers/staging/iio/chrdev.h             |    1 +
>>  drivers/staging/iio/dac/ad5504.c         |    1 +
>>  drivers/staging/iio/iio.h                |    1 +
>>  drivers/staging/iio/industrialio-core.c  |  174
>> ++++++++++------------
>> --------
> 
> 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