mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2025-04-19 20:58:31 +09:00
ASoC: meson: meson-card-utils: use inclusive language for SND_SOC_DAIFMT_CBx_CFx
In SND_SOC_DAIFMT_CBx_CFx, M/S are no longer used. use P/C. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87y0xta3lt.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
6cc4d2c115
commit
4586b05695
@ -119,10 +119,10 @@ unsigned int meson_card_parse_daifmt(struct device_node *node,
|
||||
/* If no master is provided, default to cpu master */
|
||||
if (!bitclkmaster || bitclkmaster == cpu_node) {
|
||||
daifmt |= (!framemaster || framemaster == cpu_node) ?
|
||||
SND_SOC_DAIFMT_CBS_CFS : SND_SOC_DAIFMT_CBS_CFM;
|
||||
SND_SOC_DAIFMT_CBC_CFC : SND_SOC_DAIFMT_CBC_CFP;
|
||||
} else {
|
||||
daifmt |= (!framemaster || framemaster == cpu_node) ?
|
||||
SND_SOC_DAIFMT_CBM_CFS : SND_SOC_DAIFMT_CBM_CFM;
|
||||
SND_SOC_DAIFMT_CBP_CFC : SND_SOC_DAIFMT_CBP_CFP;
|
||||
}
|
||||
|
||||
of_node_put(bitclkmaster);
|
||||
|
Loading…
x
Reference in New Issue
Block a user