mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
ASoC: ti: omap-twl4030: 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/875xkxh4ra.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
bc17eaf1b9
commit
9fde82ea39
|
|
@ -42,12 +42,12 @@ static int omap_twl4030_hw_params(struct snd_pcm_substream *substream,
|
|||
case 2: /* Stereo I2S mode */
|
||||
fmt = SND_SOC_DAIFMT_I2S |
|
||||
SND_SOC_DAIFMT_NB_NF |
|
||||
SND_SOC_DAIFMT_CBM_CFM;
|
||||
SND_SOC_DAIFMT_CBP_CFP;
|
||||
break;
|
||||
case 4: /* Four channel TDM mode */
|
||||
fmt = SND_SOC_DAIFMT_DSP_A |
|
||||
SND_SOC_DAIFMT_IB_NF |
|
||||
SND_SOC_DAIFMT_CBM_CFM;
|
||||
SND_SOC_DAIFMT_CBP_CFP;
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
|
|
@ -218,7 +218,7 @@ static struct snd_soc_dai_link omap_twl4030_dai_links[] = {
|
|||
.name = "TWL4030 Voice",
|
||||
.stream_name = "TWL4030 Voice",
|
||||
.dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_IB_NF |
|
||||
SND_SOC_DAIFMT_CBM_CFM,
|
||||
SND_SOC_DAIFMT_CBP_CFP,
|
||||
SND_SOC_DAILINK_REG(voice),
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user