]> git.baikalelectronics.ru Git - kernel.git/commit
iio: chemical: atlas-sensor: correct DO-SM channels
authorMatt Ranostay <matt.ranostay@konsulko.com>
Sun, 19 Apr 2020 23:28:47 +0000 (02:28 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 25 Apr 2020 13:34:51 +0000 (14:34 +0100)
commit276284728f6b080c63d8c1ea5a14fe79b25306be
treed207a70c8fc4c08cec826a5554f6a1bb326bfd5d
parentfbbf1a8ab3dec9b170528a4fe525c587659f87ba
iio: chemical: atlas-sensor: correct DO-SM channels

IIO_CONCENTRATION channel for the DO-SM shouldn't be indexed as
there isn't more than one, and also ATLAS_CONCENTRATION_CHANNEL
macro scan_index define steps on the IIO_TIMESTAMP channel.

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Fixes: ac36cfbd4301 (iio: chemical: atlas-sensor: add DO-SM module support)
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/atlas-sensor.c