iio: chemical: ccs811: Add triggered buffer support
authorNarcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Thu, 17 Aug 2017 11:34:29 +0000 (14:34 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Aug 2017 07:08:02 +0000 (08:08 +0100)
commit283d26917ad63580b6671935b2979c78b27302c3
tree3e0c5606067638f0ed5f4dc15cbbfa2a8db936ce
parentdc2696ba46600629738b310b9d79a0c4b982e15e
iio: chemical: ccs811: Add triggered buffer support

A software trigger such as hrtimer can be used to capture the data
that will be stored in the buffer.

Cc: Daniel Baluta <daniel.baluta@gmail.com>
Cc: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/Kconfig
drivers/iio/chemical/ccs811.c