mirror of https://gitee.com/openkylin/linux.git
ASoC: soc-core: don't use discriminatory terms on snd_soc_runtime_get_dai_fmt()
snd_soc_runtime_get_dai_fmt() is using discriminatory terms.
This patch fixup it.
Fixes: ba9e82a1c8
("ASoC: soc-core: add snd_soc_runtime_get_dai_fmt()")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/874ke9dxkp.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
b6052c3c7a
commit
640eac4c84
|
@ -1211,8 +1211,8 @@ static void snd_soc_runtime_get_dai_fmt(struct snd_soc_pcm_runtime *rtd)
|
|||
mask |= SND_SOC_DAIFMT_CLOCK_MASK;
|
||||
if (!(dai_link->dai_fmt & SND_SOC_DAIFMT_INV_MASK))
|
||||
mask |= SND_SOC_DAIFMT_INV_MASK;
|
||||
if (!(dai_link->dai_fmt & SND_SOC_DAIFMT_MASTER_MASK))
|
||||
mask |= SND_SOC_DAIFMT_MASTER_MASK;
|
||||
if (!(dai_link->dai_fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK))
|
||||
mask |= SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK;
|
||||
|
||||
dai_link->dai_fmt |= (dai_fmt & mask);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue