summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2017-08-24 03:22:57 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-03 19:09:32 +0300
commit3af75db12e3d3537bc01c06bbdc876cb17e82b35 (patch)
tree28b06426c8c968f2cdda1861e48a0825b2fd0559 /tools/perf/scripts/python
parenta575de2da5e20c31f4ffcb1df555c199ad77fc20 (diff)
downloadlinux-3af75db12e3d3537bc01c06bbdc876cb17e82b35.tar.xz
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 <daniel.baluta@gmail.com> Cc: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions