mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 02:44:41 +01:00
ASoC: codec: lochnagar-sc: 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/8734g1bi6k.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
6575dd5321
commit
6dd61011a6
1 changed files with 2 additions and 2 deletions
|
|
@ -129,12 +129,12 @@ static int lochnagar_sc_check_fmt(struct snd_soc_dai *dai, unsigned int fmt,
|
|||
|
||||
static int lochnagar_sc_set_line_fmt(struct snd_soc_dai *dai, unsigned int fmt)
|
||||
{
|
||||
return lochnagar_sc_check_fmt(dai, fmt, SND_SOC_DAIFMT_CBS_CFS);
|
||||
return lochnagar_sc_check_fmt(dai, fmt, SND_SOC_DAIFMT_CBC_CFC);
|
||||
}
|
||||
|
||||
static int lochnagar_sc_set_usb_fmt(struct snd_soc_dai *dai, unsigned int fmt)
|
||||
{
|
||||
return lochnagar_sc_check_fmt(dai, fmt, SND_SOC_DAIFMT_CBM_CFM);
|
||||
return lochnagar_sc_check_fmt(dai, fmt, SND_SOC_DAIFMT_CBP_CFP);
|
||||
}
|
||||
|
||||
static const struct snd_soc_dai_ops lochnagar_sc_line_ops = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue