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)
commit56e749ba756fdc2eff332b8eadda8fca231ad782
treed04e2bfe56e51c96686225598a12154bce6b0c06
parent6fb8944cd2892e018d13955c2d51579a30744904
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