summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/max98371.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2021-01-22 04:13:48 +0300
committerMark Brown <broonie@kernel.org>2021-02-03 20:41:42 +0300
commit4b260f425497b105acc2baa9d97ef781ef0c667d (patch)
tree79b6585665ab387d8d4fe44901d26d02e1108811 /sound/soc/codecs/max98371.h
parent2b39123b134e10a3817156bd9b157c9b8f950d6f (diff)
downloadlinux-4b260f425497b105acc2baa9d97ef781ef0c667d.tar.xz
ASoC: soc-pcm: use snd_pcm_hardware at dpcm_runtime_merge_xxx()
soc-pcm has dpcm_runtime_merge_xxx() functions, but uses parameters are very verbose. dpcm_runtime_merge_format(..., &runtime->hw.formats); dpcm_runtime_merge_chan(..., &runtime->hw.channels_min, &runtime->hw.channels_max); dpcm_runtime_merge_rate(..., &runtime->hw.rates, &runtime->hw.rate_min, &runtime->hw.rate_max); We want to replace it into dpcm_runtime_merge_format(..., runtime); dpcm_runtime_merge_chan(..., runtime); dpcm_runtime_merge_rate(..., runtime); This patch do it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/874kj9aigd.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max98371.h')
0 files changed, 0 insertions, 0 deletions