return HDMI_EDID_SUCCESS;
}
-static void mxc_hdmi_enable_pins(struct mxc_hdmi *hdmi)
-{
- struct fsl_mxc_hdmi_platform_data *plat = hdmi->pdev->dev.platform_data;
-
- dev_dbg(&hdmi->pdev->dev, "%s\n", __func__);
-
- /* Enable pins to HDMI */
- if (plat->enable_pins)
- plat->enable_pins();
-}
-
-static void mxc_hdmi_disable_pins(struct mxc_hdmi *hdmi)
-{
- struct fsl_mxc_hdmi_platform_data *plat = hdmi->pdev->dev.platform_data;
-
- dev_dbg(&hdmi->pdev->dev, "%s\n", __func__);
-
- /* Disable pins to HDMI */
- if (plat->disable_pins)
- plat->disable_pins();
-}
-
static void mxc_hdmi_phy_disable(struct mxc_hdmi *hdmi)
{
dev_dbg(&hdmi->pdev->dev, "%s\n", __func__);
dev_dbg(&hdmi->pdev->dev,
"%s: Video mode same as previous\n", __func__);
/* update fbi mode in case modelist is updated */
- hdmi->fbi->mode = mode;
+ hdmi->fbi->mode = (struct fb_videomode *)mode;
mxc_hdmi_phy_init(hdmi);
} else {
dev_dbg(&hdmi->pdev->dev, "%s: New video mode\n", __func__);
fb_unregister_client(&hdmi->nb);
- mxc_hdmi_disable_pins(hdmi);
-
clk_disable(hdmi->hdmi_isfr_clk);
clk_put(hdmi->hdmi_isfr_clk);
clk_disable(hdmi->hdmi_iahb_clk);