summaryrefslogtreecommitdiff
path: root/tools/iio/.gitignore
diff options
context:
space:
mode:
authorFreeman Liu <freeman.liu@unisoc.com>2019-07-25 14:33:50 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-08-18 20:26:47 +0100
commit8de877d2bba5c3b83f6fce48965fbd89677be097 (patch)
treed7371833516627fb6d9678f1ded25bb41cd58b87 /tools/iio/.gitignore
parent473d12f7638c93acbd9296a8cd455b203d5eb528 (diff)
downloadlwn-8de877d2bba5c3b83f6fce48965fbd89677be097.tar.gz
lwn-8de877d2bba5c3b83f6fce48965fbd89677be097.zip
iio: adc: sc27xx: Change to polling mode to read data
On Spreadtrum platform, the headphone will read one ADC channel multiple times to identify the headphone type, and the headphone identification is sensitive of the ADC reading time. And we found it will take longer time to reading ADC data by using interrupt mode comparing with the polling mode, thus we should change to polling mode to improve the efficiency of reading data, which can identify the headphone type successfully. Signed-off-by: Freeman Liu <freeman.liu@unisoc.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/iio/.gitignore')
0 files changed, 0 insertions, 0 deletions