diff options
author | Akinobu Mita <[email protected]> | 2017-08-24 09:22:57 +0900 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2017-09-03 17:09:32 +0100 |
commit | 3af75db12e3d3537bc01c06bbdc876cb17e82b35 (patch) | |
tree | 28b06426c8c968f2cdda1861e48a0825b2fd0559 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a575de2da5e20c31f4ffcb1df555c199ad77fc20 (diff) |
iio: adc: ti-ads1015: fix comparator polarity setting
The comparator polarity field in config register is not correctly
initialized as per the interrupt trigger setting. Because the bitfield
definision is wrong and bit shifting is missed.
Fixes: d9f39babd8ba ("iio: adc: ti-ads1015: add threshold event support")
Cc: Daniel Baluta <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions