static void mapphone_panel_disable(struct omap_dss_device *dssdev) { mapphone_panel_reset(false); mapphone_panel_regulator_disable(); /* change the DSS power state to RET with LCD off */ if (dss_pwrdm) omap4_set_pwrdm_state(dss_pwrdm, PWRDM_POWER_RET); }
static void mapphone_panel_disable(struct omap_dss_device *dssdev) { if (!dssdev->phy.dsi.d2l_use_ulps) mapphone_panel_reset(false); if (dssdev->panel.panel_id == MOT_DISP_LVDS_MIPI_VM_1007_1280_800) mapphone_panel_lvds_mipi_vm_1007_1280_800_enable(false); mapphone_panel_regulator_disable(); /* change the DSS power state to RET with LCD off */ if (dss_pwrdm) omap_set_pwrdm_state(dss_pwrdm, PWRDM_POWER_RET); }