Re: [PATCH 1/4] iio: hi8435: add raw access

2017-05-22 Thread Vladimir Barinov
On 20.05.2017 19:33, Jonathan Cameron wrote: On 19/05/17 15:47, Nikita Yushchenko wrote: With current event-only driver, it is not possible for user space application to know current senses if they don't change since application starts. Address that by adding raw access to channels.

Re: [PATCH 1/4] iio: hi8435: add raw access

2017-05-22 Thread Vladimir Barinov
On 20.05.2017 19:33, Jonathan Cameron wrote: On 19/05/17 15:47, Nikita Yushchenko wrote: With current event-only driver, it is not possible for user space application to know current senses if they don't change since application starts. Address that by adding raw access to channels.

Re: [PATCH 1/4] iio: hi8435: add raw access

2017-05-20 Thread Jonathan Cameron
On 19/05/17 15:47, Nikita Yushchenko wrote: With current event-only driver, it is not possible for user space application to know current senses if they don't change since application starts. Address that by adding raw access to channels. Signed-off-by: Nikita Yushchenko

Re: [PATCH 1/4] iio: hi8435: add raw access

2017-05-20 Thread Jonathan Cameron
On 19/05/17 15:47, Nikita Yushchenko wrote: With current event-only driver, it is not possible for user space application to know current senses if they don't change since application starts. Address that by adding raw access to channels. Signed-off-by: Nikita Yushchenko Ideally I'd like

[PATCH 1/4] iio: hi8435: add raw access

2017-05-19 Thread Nikita Yushchenko
With current event-only driver, it is not possible for user space application to know current senses if they don't change since application starts. Address that by adding raw access to channels. Signed-off-by: Nikita Yushchenko --- drivers/iio/adc/hi8435.c | 22

[PATCH 1/4] iio: hi8435: add raw access

2017-05-19 Thread Nikita Yushchenko
With current event-only driver, it is not possible for user space application to know current senses if they don't change since application starts. Address that by adding raw access to channels. Signed-off-by: Nikita Yushchenko --- drivers/iio/adc/hi8435.c | 22 ++ 1 file