Commit a90f847a authored by Mark Brown's avatar Mark Brown

ASoC: imx-hdmi: Update to modern clocking terminology

As part of moving to remove the old style defines for the bus clocks update
the imx-hdmi driver to use more modern terminology for clocking.
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20210921213542.31688-11-broonie@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 56b69e4e
...@@ -171,7 +171,7 @@ static int imx_hdmi_probe(struct platform_device *pdev) ...@@ -171,7 +171,7 @@ static int imx_hdmi_probe(struct platform_device *pdev)
data->dai.codecs->name = "hdmi-audio-codec.1"; data->dai.codecs->name = "hdmi-audio-codec.1";
data->dai.dai_fmt = data->dai_fmt | data->dai.dai_fmt = data->dai_fmt |
SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_NB_NF |
SND_SOC_DAIFMT_CBS_CFS; SND_SOC_DAIFMT_CBC_CFC;
} }
if (hdmi_in) { if (hdmi_in) {
...@@ -181,7 +181,7 @@ static int imx_hdmi_probe(struct platform_device *pdev) ...@@ -181,7 +181,7 @@ static int imx_hdmi_probe(struct platform_device *pdev)
data->dai.codecs->name = "hdmi-audio-codec.2"; data->dai.codecs->name = "hdmi-audio-codec.2";
data->dai.dai_fmt = data->dai_fmt | data->dai.dai_fmt = data->dai_fmt |
SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_NB_NF |
SND_SOC_DAIFMT_CBM_CFM; SND_SOC_DAIFMT_CBP_CFP;
} }
data->card.dapm_widgets = imx_hdmi_widgets; data->card.dapm_widgets = imx_hdmi_widgets;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment