summaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel/mikroe-proto.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-09-15 18:30:23 +0100
committerMark Brown <broonie@kernel.org>2021-09-16 14:11:30 +0100
commit4a8cf938d5b6ee22c5a0bec84efb4b8068410ff4 (patch)
treebb6d09346dd73b528510691ea832f4466c0eae71 /sound/soc/atmel/mikroe-proto.c
parent6116df7fafabbd9b2b09bfd8d568cd5fad656125 (diff)
downloadlinux-4a8cf938d5b6ee22c5a0bec84efb4b8068410ff4.tar.bz2
ASoC: atmel: Convert to new style DAI format definitions
Convert the Atmel drivers to use the new style defines for clocking in DAI formats. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> Acked-by: Peter Rosin <peda@axentia.se>
Diffstat (limited to 'sound/soc/atmel/mikroe-proto.c')
-rw-r--r--sound/soc/atmel/mikroe-proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/atmel/mikroe-proto.c b/sound/soc/atmel/mikroe-proto.c
index 0be7b4221c14..f9331f7e80fe 100644
--- a/sound/soc/atmel/mikroe-proto.c
+++ b/sound/soc/atmel/mikroe-proto.c
@@ -129,9 +129,9 @@ static int snd_proto_probe(struct platform_device *pdev)
}
if (bitclkmaster) {
if (codec_np == bitclkmaster)
- dai_fmt |= SND_SOC_DAIFMT_CBM_CFM;
+ dai_fmt |= SND_SOC_DAIFMT_CBP_CFP;
else
- dai_fmt |= SND_SOC_DAIFMT_CBS_CFS;
+ dai_fmt |= SND_SOC_DAIFMT_CBC_CFC;
} else {
dai_fmt |= snd_soc_daifmt_parse_clock_provider_as_flag(np, NULL);
}