commit | 892cb6dc9fbbfa7281f3aa53aa6599618aec7cb1 | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Mon Apr 16 21:27:42 2012 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 18 16:37:05 2012 -0700 |
tree | 89f29956b81b65043e54b82b89324aee16f390bf | |
parent | c5714b5acfb0ea7816340ba37bb8631c7061448e [diff] |
staging: iio: light: isl29028: fix correct mask value The mask value in the read_raw/write_raw is absolute value, not the bit position value. Fixing this in the implemented function to check value, not with the bit position value. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>