diff options
| author | David Lechner <david@lechnology.com> | 2018-07-21 14:37:34 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-07-23 19:18:12 +0100 |
| commit | 8134b613b05dd27fc718fbe3785ccc9c5da10e02 (patch) | |
| tree | 345aca60298f8c51535cab0832d7f86e2d9104f9 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 7d7209f0c467ba8b86229dbd4e1aa2f3d9b0c5bb (diff) | |
iio: adc: ti-ads7950: allow simultaneous use of buffer and direct mode
This modifies the TI ADS7950 A/DC driver to allow the simultaneous use
of both the triggered buffer and reading channels directly (via in-
kernel API or sysfs).
The use case for this is on LEGO MINDSTORMS EV3. Two of the voltage
channels are used in-kernel by a power supply driver, which reads the
values using iio_read_channel_processed(). These channels are only read
at a slow rate (<= 1Hz). However, we want to be able to read 12 other
channels at the same time using the triggered buffer at a high rate (>=
100Hz).
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
