diff options
author | Vlad Dogaru <[email protected]> | 2015-06-30 14:20:59 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2015-07-05 14:03:32 +0100 |
commit | 68958bd5ca748beba1251937d6f6561e70e97c14 (patch) | |
tree | 97fd4d323ab235d02aa316abf6f452d3a3ebc237 /lib/string_helpers.c | |
parent | 657c7ff56f8e96d4de7146103f08f3316dd822df (diff) |
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 <[email protected]>
Signed-off-by: Vlad Dogaru <[email protected]>
Acked-by: Hartmut Knaack <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions