linux_dsm_epyc7002/sound/soc/sh
Kuninori Morimoto b2fb31bb74
ASoC: rsnd: TDM 6ch needs 8ch clock for hw refine
Renesas sound needs 8ch clock if TDM 6ch mode, and needs 2ch clock for
6ch or 8ch sound if Multi SSI mode. And these are related to before/after
CTU (= Channel Transfer Unit).
To calculate these we already has rsnd_runtime_channel_for_ssi() which
returns runtime necessary channels.
But, it based on runtime->channels  which is not yet set when hw refine.
We need to use hw_params instead of runtime->xxx when hw refine,
and it is not needed after runtime was set.
This patch adds new hw_params on rsnd_dai_stream, and it will be removed
on rsnd_hw_params().
This is very temporary durty code, but it seems no choice at this point.

Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-11-29 10:16:03 +00:00
..
rcar ASoC: rsnd: TDM 6ch needs 8ch clock for hw refine 2017-11-29 10:16:03 +00:00
dma-sh7760.c ASoC: sh: make snd_pcm_hardware const 2017-08-17 17:57:21 +01:00
fsi.c ASoC: fsi: Use of_device_get_match_data() helper 2017-10-04 15:48:05 +01:00
hac.c ASoC: sh: hac: add missing "int ret" 2017-07-24 13:06:53 +01:00
Kconfig ASoC: rsnd: add HDMI output support 2017-05-19 18:36:25 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
migor.c ASoC: sh: make snd_soc_ops const 2017-08-17 18:09:48 +01:00
sh7760-ac97.c ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
siu_dai.c ASoC: sh: make snd_pcm_hardware const 2017-08-17 17:57:21 +01:00
siu_pcm.c ASoC: sh: constify snd_pcm_ops structures 2017-08-14 17:23:43 +01:00
siu.h ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
ssi.c ASoC: sh: ssi: Convert to devm_snd_soc_register_component 2015-08-28 17:28:49 +01:00