diff options
Diffstat (limited to 'include/sound/hdmi-codec.h')
-rw-r--r-- | include/sound/hdmi-codec.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sound/hdmi-codec.h b/include/sound/hdmi-codec.h index 915c4357945c..9483c55f871b 100644 --- a/include/sound/hdmi-codec.h +++ b/include/sound/hdmi-codec.h | |||
@@ -18,9 +18,11 @@ | |||
18 | #ifndef __HDMI_CODEC_H__ | 18 | #ifndef __HDMI_CODEC_H__ |
19 | #define __HDMI_CODEC_H__ | 19 | #define __HDMI_CODEC_H__ |
20 | 20 | ||
21 | #include <linux/of_graph.h> | ||
21 | #include <linux/hdmi.h> | 22 | #include <linux/hdmi.h> |
22 | #include <drm/drm_edid.h> | 23 | #include <drm/drm_edid.h> |
23 | #include <sound/asoundef.h> | 24 | #include <sound/asoundef.h> |
25 | #include <sound/soc.h> | ||
24 | #include <uapi/sound/asound.h> | 26 | #include <uapi/sound/asound.h> |
25 | 27 | ||
26 | /* | 28 | /* |
@@ -87,6 +89,13 @@ struct hdmi_codec_ops { | |||
87 | */ | 89 | */ |
88 | int (*get_eld)(struct device *dev, void *data, | 90 | int (*get_eld)(struct device *dev, void *data, |
89 | uint8_t *buf, size_t len); | 91 | uint8_t *buf, size_t len); |
92 | |||
93 | /* | ||
94 | * Getting DAI ID | ||
95 | * Optional | ||
96 | */ | ||
97 | int (*get_dai_id)(struct snd_soc_component *comment, | ||
98 | struct device_node *endpoint); | ||
90 | }; | 99 | }; |
91 | 100 | ||
92 | /* HDMI codec initalization data */ | 101 | /* HDMI codec initalization data */ |