summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBilly Tsai <billy_tsai@aspeedtech.com>2021-09-22 16:15:17 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-19 08:27:32 +0100
commit13d4f9df333b8b665ab8b4429c192eb788bcd92f (patch)
treec9f3dafdbbe0c2475bc4a983f045c9c15546a58d /tools/perf/scripts/python/export-to-postgresql.py
parent90f9647753de30708da3891296812c4ec97cb404 (diff)
iio: adc: aspeed: Add func to set sampling rate.
Add the function to set the sampling rate and keep the sampling period for a driver used to wait the fresh value. In addition, since the ADC clock is required when initializing the ADC device, move clk_prepare_enable ahead of the initialization phase. Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com> Link: https://lore.kernel.org/r/20210922081520.30580-9-billy_tsai@aspeedtech.com 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