]> git.karo-electronics.de Git - linux-beck.git/commit
staging:iio:adxrs450: Reject out of range calibscale values
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 31 Jan 2013 14:27:00 +0000 (14:27 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 2 Feb 2013 09:21:36 +0000 (09:21 +0000)
commit9a26578c811e6f4de24d81ef734b17c401e5080f
treec92986a19761828bf2a2c97dc67deb8ab95f95f7
parentc62b89c713ebd5e4a67c9b9229591adab8953a3c
staging:iio:adxrs450: Reject out of range calibscale values

Instead of silently discarding the upper bits reject out of range values for the
calibscale property.

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