]> git.karo-electronics.de Git - linux-beck.git/commit
staging:iio:ad799x: Set IIO_CHAN_INFO_SCALE mask
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 26 Mar 2013 18:43:00 +0000 (18:43 +0000)
committerJonathan Cameron <jic23@kernel.org>
Fri, 29 Mar 2013 09:16:46 +0000 (09:16 +0000)
commitd00698df2180ecd78b2892856b310dfedd5f6fe7
tree800c2e260dd20ba9162abf0acd0b866745ea66d0
parentae6d648940dbf3f158423865b51a70a6571d872d
staging:iio:ad799x: Set IIO_CHAN_INFO_SCALE mask

The driver has support for reporting a channels scale, but none of the channels
set the IIO_CHAN_INFO_SCALE mask. Add the IIO_CHAN_INFO_SCALE to all channels to
indicate that the drivers supports reporting the scale.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad799x_core.c