summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2018-05-30 22:45:56 +0300
committerMark Brown <broonie@kernel.org>2018-06-01 13:27:26 +0300
commite9be4ffd4f40fcb18209dc5120233f2d11a24b6a (patch)
treecf5acc06e1a53ac4fcfbe9d7162f877cdfc5efeb /tools/perf/scripts/python/export-to-postgresql.py
parentf9e0b4afd4e9b19e95158962d81b5b776d57ca06 (diff)
downloadlinux-e9be4ffd4f40fcb18209dc5120233f2d11a24b6a.tar.xz
ASoC: simple-card: set cpu dai clk in hw_params
The simple-card driver currently accepts a clock node in the cpu dai sub-node and only uses it as an alternative to the 'system-clock-frequency' property to get the current frequency. This patch adds another use of the passed clock node. If mclk-fs is specified, the clocks in cpu and codec dai sub-nodes will be set to the calculated rate (stream rate * mclk_fs) in hw_params. This allows platforms to pass tuneable clocks as phandle that will automatically be set to the right rates. Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions