diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2024-12-20 15:41:24 +0100 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-02-15 15:22:38 +0100 |
| commit | e354dc1d6d99b1616119df0b119256a3515c4872 (patch) | |
| tree | bc3c70451b0f99d6aa8bc96a8e9810105f99dedc /tools/perf/scripts/python/flamegraph.py | |
| parent | 6cdde1bbefa0b66d2e2cfe06ff520cf80eaa1f3a (diff) | |
| download | linux-e354dc1d6d99b1616119df0b119256a3515c4872.tar.gz linux-e354dc1d6d99b1616119df0b119256a3515c4872.zip | |
media: ov08x40: Get clock on ACPI platforms too
ACPI platforms might also have a clk provider which needs to be controlled,
always try to get a clk using clk_get_optional() and when that fails fall
back to getting the xvclk frequency from the "clock-frequency" property.
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
