summaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dai.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-02-19 07:56:36 +0100
committerMark Brown <broonie@kernel.org>2020-02-24 22:18:29 +0100
commit57be92066f68e63bd4a72a65d45c3407c0cb552a (patch)
tree3797c1555ba7e8acc6df3ec3e7c815164d6d5415 /include/sound/soc-dai.h
parentASoC: soc-pcm: add snd_soc_dai_get_pcm_stream() (diff)
downloadlinux-57be92066f68e63bd4a72a65d45c3407c0cb552a.tar.xz
linux-57be92066f68e63bd4a72a65d45c3407c0cb552a.zip
ASoC: soc-pcm: cleanup soc_pcm_apply_msb()
soc_pcm_apply_msb() apply msb for CPU/Codec, but, it has duplicate code. The difference is only SNDRV_PCM_STREAM_PLAYBACK and SNDRV_PCM_STEAM_CAPTURE. It is very verbose and duplicate code. This patch simplify code by using snd_soc_dai_get_pcm_stream(). Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87eeurjca6.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-dai.h')
0 files changed, 0 insertions, 0 deletions