aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2018-01-05 15:34:54 +0100
committerGreg Kroah-Hartman <[email protected]>2018-01-08 16:03:43 +0100
commit04e491ca9df60ffe8637d00d68e5ab8bc73b30d5 (patch)
tree35ef884e23cf0e04478e2b3885d9a72a626d4632 /tools/perf/scripts/python/export-to-postgresql.py
parenta540243f4dabddeaec937a859683c539e1571d9d (diff)
iio: adc: stm32: fix scan of multiple channels with DMA
By default, watermark is set to '1'. Watermark is used to fine tune cyclic dma buffer period. In case watermark is left untouched (e.g. 1) and several channels are being scanned, buffer period is wrongly set (e.g. to 1 sample). As a consequence, data is never pushed to upper layer. Fix buffer period size, by taking scan channels number into account. Fixes: 2763ea0585c9 ("iio: adc: stm32: add optional dma support") Signed-off-by: Fabrice Gasnier <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions