summaryrefslogtreecommitdiff
path: root/net/rxrpc
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-11-29 03:07:51 +0000
committerMark Brown <broonie@kernel.org>2017-11-29 10:16:03 +0000
commitb2fb31bb7454d5479b1c7214ccd10c1af85a6245 (patch)
treea44824d2edbddc618d66f5f6353b04a7d2536e6f /net/rxrpc
parent180d9ef58104dfae78622d01910b9b7756701134 (diff)
downloadlinux-b2fb31bb7454d5479b1c7214ccd10c1af85a6245.tar.gz
linux-b2fb31bb7454d5479b1c7214ccd10c1af85a6245.tar.bz2
linux-b2fb31bb7454d5479b1c7214ccd10c1af85a6245.zip
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>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions