diff options
author | Mark Brown <broonie@kernel.org> | 2021-09-15 20:30:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-16 16:11:30 +0300 |
commit | 4a8cf938d5b6ee22c5a0bec84efb4b8068410ff4 (patch) | |
tree | bb6d09346dd73b528510691ea832f4466c0eae71 /sound/soc/atmel/sam9x5_wm8731.c | |
parent | 6116df7fafabbd9b2b09bfd8d568cd5fad656125 (diff) | |
download | linux-4a8cf938d5b6ee22c5a0bec84efb4b8068410ff4.tar.xz |
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/sam9x5_wm8731.c')
-rw-r--r-- | sound/soc/atmel/sam9x5_wm8731.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/sam9x5_wm8731.c b/sound/soc/atmel/sam9x5_wm8731.c index 7745250fd743..7c45dc4f8c1b 100644 --- a/sound/soc/atmel/sam9x5_wm8731.c +++ b/sound/soc/atmel/sam9x5_wm8731.c @@ -115,7 +115,7 @@ static int sam9x5_wm8731_driver_probe(struct platform_device *pdev) dai->codecs->dai_name = "wm8731-hifi"; dai->init = sam9x5_wm8731_init; dai->dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_NB_NF - | SND_SOC_DAIFMT_CBM_CFM; + | SND_SOC_DAIFMT_CBP_CFP; ret = snd_soc_of_parse_card_name(card, "atmel,model"); if (ret) { |