diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2021-03-09 10:07:57 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-03-12 14:26:28 +0000 |
| commit | 68cbc557375e22e921c9fd007dfcb35faeff4908 (patch) | |
| tree | a979b8aec31533338a22c2adb5a8a2ec20c3b72c /scripts/gdb/linux/timerlist.py | |
| parent | 56e749ba756fdc2eff332b8eadda8fca231ad782 (diff) | |
ASoC: soc-pcm: add soc_pcm_update_symmetry()
Current soc-pcm has soc_pcm_has_symmetry() and using it as
if (soc_pcm_has_symmetry(substream))
substream->runtime->hw.info |= SNDRV_PCM_INFO_JOINT_DUPLEX;
We want to share same operation as same function.
This patch adds soc_pcm_update_symmetry() and pack above code in
one function.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87ft15uob6.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions
