]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-pcm: direct copy at snd_soc_set_runtime_hwparams()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 9 Mar 2021 01:07:53 +0000 (10:07 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 12 Mar 2021 14:26:27 +0000 (14:26 +0000)
commita83aa4778045652630824af793ea932d10f78bee
treed04e2bfe56e51c96686225598a12154bce6b0c06
parentf0a9f856463b765cfd0285d3f0359c9bc091ed8d
ASoC: soc-pcm: direct copy at snd_soc_set_runtime_hwparams()

snd_soc_set_runtime_hwparams() is called from each driver
to initialize hw parameters,
but coping each parameters one-by-one.

Current code is not copying all parameters, but no big effect
if we do it. This patch copies all parameters by simple code.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87h7lluoba.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c