Message ID | 4C52CD26.8010908@ti.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Tomi Valkeinen |
Headers | show |
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index b3a498f..0b9041a 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -35,6 +35,7 @@ #include <plat/display.h> #include <plat/clock.h> +#include <plat/omap-pm.h> #include "dss.h" @@ -502,6 +503,10 @@ static int omap_dss_probe(struct platform_device *pdev) core.pdev = pdev; + if (!core.pdev->get_last_off_on_transaction_id) + core.pdev->get_last_off_on_transaction_id = + omap_pm_get_dev_context_loss_count; + dss_init_overlay_managers(pdev); dss_init_overlays(pdev);