]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/video/fbdev/omap2/dss/hdmi.h
Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / drivers / video / fbdev / omap2 / dss / hdmi.h
index fd80774ac162656c03a509a2677491caa734a2c4..e4a32fe77b0256fa0850e8ba59f5e5e2d9e96eef 100644 (file)
@@ -331,9 +331,9 @@ void hdmi_wp_audio_config_format(struct hdmi_wp_data *wp,
                struct hdmi_audio_format *aud_fmt);
 void hdmi_wp_audio_config_dma(struct hdmi_wp_data *wp,
                struct hdmi_audio_dma *aud_dma);
-static inline bool hdmi_mode_has_audio(int mode)
+static inline bool hdmi_mode_has_audio(struct hdmi_config *cfg)
 {
-       return mode == HDMI_HDMI ? true : false;
+       return cfg->hdmi_dvi_mode == HDMI_HDMI ? true : false;
 }
 
 /* HDMI DRV data */
@@ -351,10 +351,13 @@ struct omap_hdmi {
        struct regulator *vdda_reg;
 
        bool core_enabled;
+       bool display_enabled;
 
        struct omap_dss_device output;
 
        struct platform_device *audio_pdev;
+       void (*audio_abort_cb)(struct device *dev);
+       int wp_idlemode;
 };
 
 #endif