49 lines
1.4 KiB
Diff
49 lines
1.4 KiB
Diff
From 1ca969fc72dec619f8c4765f30055b0177de767b Mon Sep 17 00:00:00 2001
|
|
From: Dongjin Kim <tobetter@gmail.com>
|
|
Date: Wed, 14 Apr 2021 18:00:07 +0900
|
|
Subject: [PATCH 60/75] ODROID-N2/C4/HC4: Revert "drm: meson_drv add shutdown
|
|
function"
|
|
|
|
Reboot fails 100% with this commit.
|
|
|
|
This reverts commit b0fe7f2c002adecda5f146bc5e430d0e3965c255.
|
|
|
|
Change-Id: Id91b44dad4359f137dfea2738e3a7705b211e67a
|
|
---
|
|
drivers/gpu/drm/meson/meson_drv.c | 12 ------------
|
|
1 file changed, 12 deletions(-)
|
|
|
|
diff --git a/drivers/gpu/drm/meson/meson_drv.c b/drivers/gpu/drm/meson/meson_drv.c
|
|
index bc0d60df04ae..447a000178a1 100644
|
|
--- a/drivers/gpu/drm/meson/meson_drv.c
|
|
+++ b/drivers/gpu/drm/meson/meson_drv.c
|
|
@@ -467,17 +467,6 @@ static int meson_probe_remote(struct platform_device *pdev,
|
|
return count;
|
|
}
|
|
|
|
-static void meson_drv_shutdown(struct platform_device *pdev)
|
|
-{
|
|
- struct meson_drm *priv = dev_get_drvdata(&pdev->dev);
|
|
-
|
|
- if (!priv)
|
|
- return;
|
|
-
|
|
- drm_kms_helper_poll_fini(priv->drm);
|
|
- drm_atomic_helper_shutdown(priv->drm);
|
|
-}
|
|
-
|
|
static int meson_drv_probe(struct platform_device *pdev)
|
|
{
|
|
struct component_match *match = NULL;
|
|
@@ -549,7 +538,6 @@ static const struct dev_pm_ops meson_drv_pm_ops = {
|
|
|
|
static struct platform_driver meson_drm_platform_driver = {
|
|
.probe = meson_drv_probe,
|
|
- .shutdown = meson_drv_shutdown,
|
|
.driver = {
|
|
.name = "meson-drm",
|
|
.of_match_table = dt_match,
|
|
--
|
|
2.25.1
|
|
|