diff options
author | Dave Airlie <airlied@redhat.com> | 2023-12-13 11:01:30 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2023-12-13 11:01:40 +1000 |
commit | 3c2eb7806f641f2516d8265bdc324bfc680cc5ed (patch) | |
tree | 9809749208fd07ed284e8e2c01cd0666df263da6 /drivers/gpu/drm/exynos/exynos_dp.c | |
parent | c1ee197d64f49c9e2a6c8e6a168083c411c1362c (diff) | |
parent | ead5a41c8f8a13ad7b1c9fd2d7edb1ea909b777f (diff) | |
download | linux-stable-3c2eb7806f641f2516d8265bdc324bfc680cc5ed.tar.gz linux-stable-3c2eb7806f641f2516d8265bdc324bfc680cc5ed.tar.bz2 linux-stable-3c2eb7806f641f2516d8265bdc324bfc680cc5ed.zip |
Merge tag 'exynos-drm-next-for-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
One bug fix
- Add a missing call to drm_atomic_helper_shutdown() in Exynos DRM
driver.
This function is necessary during system shutdown and when the driver
is unbound. Without this function, components like panels may not shut
down properly, potentially leading to power issue as mentioned in the
kernel documentation, specially in the "driver instance overview"
secstion of 'drm_drv.c'.
Two cleanups
- Convert '.remove()' callback function in the Exynos DRM platform
driver to a version that returns void instead of an integer.
- Change connector type of exynos_drm_dpi.c module to DPI.
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Inki Dae <inki.dae@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231212051134.48524-1-inki.dae@samsung.com
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_dp.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_dp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_dp.c b/drivers/gpu/drm/exynos/exynos_dp.c index 3404ec1367fb..ca31bad6c576 100644 --- a/drivers/gpu/drm/exynos/exynos_dp.c +++ b/drivers/gpu/drm/exynos/exynos_dp.c @@ -250,14 +250,12 @@ out: return component_add(&pdev->dev, &exynos_dp_ops); } -static int exynos_dp_remove(struct platform_device *pdev) +static void exynos_dp_remove(struct platform_device *pdev) { struct exynos_dp_device *dp = platform_get_drvdata(pdev); component_del(&pdev->dev, &exynos_dp_ops); analogix_dp_remove(dp->adp); - - return 0; } static int exynos_dp_suspend(struct device *dev) @@ -285,7 +283,7 @@ MODULE_DEVICE_TABLE(of, exynos_dp_match); struct platform_driver dp_driver = { .probe = exynos_dp_probe, - .remove = exynos_dp_remove, + .remove_new = exynos_dp_remove, .driver = { .name = "exynos-dp", .owner = THIS_MODULE, |