linux_dsm_epyc7002/sound/soc/generic
Daniel Mack e9be4ffd4f
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>
2018-06-01 11:27:26 +01:00
..
audio-graph-card.c ASoC: add mclk-fs support to audio graph card 2017-11-10 21:23:06 +00:00
audio-graph-scu-card.c
Kconfig
Makefile
simple-card-utils.c
simple-card.c ASoC: simple-card: set cpu dai clk in hw_params 2018-06-01 11:27:26 +01:00
simple-scu-card.c