Re: [PATCH v4 1/7] iio: dummy: Add virtual registers for dummy device

2014-11-22 Thread Jonathan Cameron
On 10/11/14 12:45, Daniel Baluta wrote: > We need a way to store events generated by iio_dummy_evgen module, > in order to correctly process IRQs in iio_simple_dummy_events. > > For the moment, we add two registers: > > * id_reg - ID register, stores the source of the event > * id_data - DATA re

[PATCH v4 1/7] iio: dummy: Add virtual registers for dummy device

2014-11-10 Thread Daniel Baluta
We need a way to store events generated by iio_dummy_evgen module, in order to correctly process IRQs in iio_simple_dummy_events. For the moment, we add two registers: * id_reg - ID register, stores the source of the event * id_data - DATA register, stores the type of the event e.g echo 4 > /sy