ASoC: soc-dai.h: add snd_soc_dai_tdm_mask_set/get() helper
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 31 Jan 2023 01:59:07 +0000 (01:59 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 31 Jan 2023 11:04:52 +0000 (11:04 +0000)
commitd4c0326e6ea038cf99fde6f22296e4e68de4f2b5
treec0ed8726070ba321ef1667238d6a548e84b3f2d8
parent60df5935c27e19cc6595bd1740479a60f1880a32
ASoC: soc-dai.h: add snd_soc_dai_tdm_mask_set/get() helper

Current ASoC has tx/rx_mask, and is directly accessing to them,
but accessing to it via function is nice idea.
This patch adds snd_soc_dai_tdm_mask_set/get() for it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/878rhjfor8.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h