diff options
author | Kuninori Morimoto <[email protected]> | 2021-01-22 10:13:48 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-02-03 17:41:42 +0000 |
commit | 4b260f425497b105acc2baa9d97ef781ef0c667d (patch) | |
tree | 79b6585665ab387d8d4fe44901d26d02e1108811 /net/unix/unix_bpf.c | |
parent | 2b39123b134e10a3817156bd9b157c9b8f950d6f (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions