summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2022-01-17 10:25:12 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-15 22:07:10 +0100
commit754d013433bc7cf4677223ccd8dcbeb2a09c9982 (patch)
treef4f8a73e0033fb88c07be10775ca96bbb23ddfaf /tools/perf/scripts/python/export-to-postgresql.py
parent9e5b4cd2e9c0b1bd426bda633677eb870327faf5 (diff)
iio: at91-sama5d2: Limit requested watermark value to hwfifo size
Instead of returning an error if the watermark value is too high, which the core will silently ignore anyway, limit the value to the hardware FIFO size; a lower-than-requested value is still better than using the default, which is usually 1. Cc: Eugen Hristev <eugen.hristev@microchip.com> Cc: Nicolas Ferre <nicolas.ferre@microchip.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20220117102512.31725-2-paul@crapouillou.net Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions