imx-hdmi.c (8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17) imx-hdmi.c (815b55e1101f074e737c084e996d086dcb454399)
1// SPDX-License-Identifier: GPL-2.0
2// Copyright 2017-2020 NXP
3
4#include <linux/module.h>
5#include <linux/of_platform.h>
6#include <sound/jack.h>
7#include <sound/pcm_params.h>
8#include <sound/hdmi-codec.h>

--- 45 unchanged lines hidden (view full) ---

54 if (ret && ret != -ENOTSUPP) {
55 dev_err(dev, "failed to set cpu dai tdm slot: %d\n", ret);
56 return ret;
57 }
58
59 return 0;
60}
61
1// SPDX-License-Identifier: GPL-2.0
2// Copyright 2017-2020 NXP
3
4#include <linux/module.h>
5#include <linux/of_platform.h>
6#include <sound/jack.h>
7#include <sound/pcm_params.h>
8#include <sound/hdmi-codec.h>

--- 45 unchanged lines hidden (view full) ---

54 if (ret && ret != -ENOTSUPP) {
55 dev_err(dev, "failed to set cpu dai tdm slot: %d\n", ret);
56 return ret;
57 }
58
59 return 0;
60}
61
62static struct snd_soc_ops imx_hdmi_ops = {
62static const struct snd_soc_ops imx_hdmi_ops = {
63 .hw_params = imx_hdmi_hw_params,
64};
65
66static const struct snd_soc_dapm_widget imx_hdmi_widgets[] = {
67 SND_SOC_DAPM_LINE("HDMI Jack", NULL),
68};
69
70static int imx_hdmi_init(struct snd_soc_pcm_runtime *rtd)

--- 162 unchanged lines hidden ---
63 .hw_params = imx_hdmi_hw_params,
64};
65
66static const struct snd_soc_dapm_widget imx_hdmi_widgets[] = {
67 SND_SOC_DAPM_LINE("HDMI Jack", NULL),
68};
69
70static int imx_hdmi_init(struct snd_soc_pcm_runtime *rtd)

--- 162 unchanged lines hidden ---