summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorVlad Dogaru <vlad.dogaru@intel.com>2015-06-30 13:20:59 +0200
committerJonathan Cameron <jic23@kernel.org>2015-07-19 12:48:15 +0200
commit0d1462de0b24fd09284411a3753f24a3d7c67577 (patch)
tree000a2ff347c33cb7cb498ba602af5d4fa1d245e2 /drivers/net
parentiio: sx9500: rework error handling of raw readings (diff)
downloadlinux-0d1462de0b24fd09284411a3753f24a3d7c67577.tar.xz
linux-0d1462de0b24fd09284411a3753f24a3d7c67577.zip
iio: sx9500: fix bug in compensation code
The initial compensation was mistakingly toggling an extra bit in the control register. Fix this and make sure it's less likely to happen by introducing an additional macro. Reported-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com> Acked-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions