OSDN Git Service

iio: hi8435: add raw access
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>
Fri, 19 May 2017 14:47:59 +0000 (17:47 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sat, 20 May 2017 16:31:33 +0000 (17:31 +0100)
commitfa7662e1bddbded1820415907740837baa897721
treef6983774fa844be7e419821b68e5c3f55ee20fe7
parent14b39dce373191f8fd7a703a643dccf0f97f0323
iio: hi8435: add raw access

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 <nikita.yoush@cogentembedded.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/hi8435.c