diff options
| author | Billy Tsai <billy_tsai@aspeedtech.com> | 2021-09-22 16:15:17 +0800 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-10-19 08:27:32 +0100 |
| commit | 13d4f9df333b8b665ab8b4429c192eb788bcd92f (patch) | |
| tree | c9f3dafdbbe0c2475bc4a983f045c9c15546a58d /tools/perf/scripts/python/flamegraph.py | |
| parent | iio: adc: aspeed: Fix the calculate error of clock. (diff) | |
| download | linux-13d4f9df333b8b665ab8b4429c192eb788bcd92f.tar.gz linux-13d4f9df333b8b665ab8b4429c192eb788bcd92f.zip | |
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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
