[HACK] fbdev: dpu20: modify sub-dev shutdown callback.
authorJaehoe Yang <jaehoe.yang@samsung.com>
Thu, 16 Aug 2018 12:32:23 +0000 (21:32 +0900)
committerhwangjae lee <hj-yo.lee@samsung.com>
Fri, 10 May 2019 07:11:34 +0000 (16:11 +0900)
Change-Id: I972b84ca6beaa45d5ef28aad071d99dd8aec69e4
Signed-off-by: Jaehoe Yang <jaehoe.yang@samsung.com>
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
drivers/video/fbdev/exynos/dpu20/displayport_drv.c
drivers/video/fbdev/exynos/dpu20/dsim_drv.c

index 9cd552ae3bb61e5414dce74a1f3b19ed81496ff2..323a288f693176f5c9c0de8919fbbe3b86157dcb 100644 (file)
@@ -3094,6 +3094,7 @@ err:
 
 static void displayport_shutdown(struct platform_device *pdev)
 {
+#if 0
        struct displayport_device *displayport = platform_get_drvdata(pdev);
 
        /* DPU_EVENT_LOG(DPU_EVT_DP_SHUTDOWN, &displayport->sd, ktime_set(0, 0)); */
@@ -3102,6 +3103,9 @@ static void displayport_shutdown(struct platform_device *pdev)
        displayport_disable(displayport);
 
        displayport_info("%s -\n", __func__);
+#else
+       displayport_info("%s +-\n", __func__);
+#endif
 }
 
 static int displayport_runtime_suspend(struct device *dev)
index 05099901c59a18dda8e490b30ce247352279e600..bd8c49b368c3fb0713d2fcee643178b77f7bb978 100644 (file)
@@ -1784,6 +1784,7 @@ static int dsim_remove(struct platform_device *pdev)
 
 static void dsim_shutdown(struct platform_device *pdev)
 {
+#if 0
        struct dsim_device *dsim = platform_get_drvdata(pdev);
 
        DPU_EVENT_LOG(DPU_EVT_DSIM_SHUTDOWN, &dsim->sd, ktime_set(0, 0));
@@ -1792,6 +1793,9 @@ static void dsim_shutdown(struct platform_device *pdev)
        dsim_disable(dsim);
 
        dsim_info("%s -\n", __func__);
+#else
+       dsim_info("%s +-\n", __func__);
+#endif
 }
 
 static int dsim_runtime_suspend(struct device *dev)