aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2014-06-25 13:20:57 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-12-01 04:09:59 -0500
commit84a845de578a6d46e13307edc2fb27b423213eff (patch)
tree23903be1a02870b5052d0bfba5e5c8f50e4aeb76 /include/video
parentab387c1e51d7920a6a5860c010372b73ec173a5c (diff)
OMAPDSS: Remove all references to obsolete HDMI audio callbacks
In new model these callbacks are obsolete since the ASoC component drivers are integrated into the HDMI drivers and no callbacks are needed anymore. Signed-off-by: Jyri Sarha <jsarha@ti.com> Reviewed-by: Mark Brown <broonie@kernel.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 1db32023396e..6a84498ea513 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -166,13 +166,6 @@ enum omap_dss_display_state {
166 OMAP_DSS_DISPLAY_ACTIVE, 166 OMAP_DSS_DISPLAY_ACTIVE,
167}; 167};
168 168
169enum omap_dss_audio_state {
170 OMAP_DSS_AUDIO_DISABLED = 0,
171 OMAP_DSS_AUDIO_ENABLED,
172 OMAP_DSS_AUDIO_CONFIGURED,
173 OMAP_DSS_AUDIO_PLAYING,
174};
175
176struct omap_dss_audio { 169struct omap_dss_audio {
177 struct snd_aes_iec958 *iec; 170 struct snd_aes_iec958 *iec;
178 struct snd_cea_861_aud_if *cea; 171 struct snd_cea_861_aud_if *cea;
@@ -635,19 +628,6 @@ struct omapdss_hdmi_ops {
635 int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode); 628 int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode);
636 int (*set_infoframe)(struct omap_dss_device *dssdev, 629 int (*set_infoframe)(struct omap_dss_device *dssdev,
637 const struct hdmi_avi_infoframe *avi); 630 const struct hdmi_avi_infoframe *avi);
638
639 /*
640 * Note: These functions might sleep. Do not call while
641 * holding a spinlock/readlock.
642 */
643 int (*audio_enable)(struct omap_dss_device *dssdev);
644 void (*audio_disable)(struct omap_dss_device *dssdev);
645 bool (*audio_supported)(struct omap_dss_device *dssdev);
646 int (*audio_config)(struct omap_dss_device *dssdev,
647 struct omap_dss_audio *audio);
648 /* Note: These functions may not sleep */
649 int (*audio_start)(struct omap_dss_device *dssdev);
650 void (*audio_stop)(struct omap_dss_device *dssdev);
651}; 631};
652 632
653struct omapdss_dsi_ops { 633struct omapdss_dsi_ops {
@@ -783,8 +763,6 @@ struct omap_dss_device {
783 763
784 enum omap_dss_display_state state; 764 enum omap_dss_display_state state;
785 765
786 enum omap_dss_audio_state audio_state;
787
788 /* OMAP DSS output specific fields */ 766 /* OMAP DSS output specific fields */
789 767
790 struct list_head list; 768 struct list_head list;
@@ -861,24 +839,6 @@ struct omap_dss_driver {
861 int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode); 839 int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode);
862 int (*set_hdmi_infoframe)(struct omap_dss_device *dssdev, 840 int (*set_hdmi_infoframe)(struct omap_dss_device *dssdev,
863 const struct hdmi_avi_infoframe *avi); 841 const struct hdmi_avi_infoframe *avi);
864
865 /*
866 * For display drivers that support audio. This encompasses
867 * HDMI and DisplayPort at the moment.
868 */
869 /*
870 * Note: These functions might sleep. Do not call while
871 * holding a spinlock/readlock.
872 */
873 int (*audio_enable)(struct omap_dss_device *dssdev);
874 void (*audio_disable)(struct omap_dss_device *dssdev);
875 bool (*audio_supported)(struct omap_dss_device *dssdev);
876 int (*audio_config)(struct omap_dss_device *dssdev,
877 struct omap_dss_audio *audio);
878 /* Note: These functions may not sleep */
879 int (*audio_start)(struct omap_dss_device *dssdev);
880 void (*audio_stop)(struct omap_dss_device *dssdev);
881
882}; 842};
883 843
884enum omapdss_version omapdss_get_version(void); 844enum omapdss_version omapdss_get_version(void);