summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/displays/connector-hdmi.c
diff options
context:
space:
mode:
authorLaurent Pinchart2018-08-04 21:10:44 +0200
committerTomi Valkeinen2018-09-03 15:13:26 +0200
commit73fc0ac4a69506ead7cf0c0ad0ef79f283766f25 (patch)
tree04cb164c50393026ace25220400351e523d936e3 /drivers/gpu/drm/omapdrm/displays/connector-hdmi.c
parentdrm/omap: dss: Move debug message and checks to connection handlers (diff)
downloadkernel-qcow2-linux-73fc0ac4a69506ead7cf0c0ad0ef79f283766f25.tar.gz
kernel-qcow2-linux-73fc0ac4a69506ead7cf0c0ad0ef79f283766f25.tar.xz
kernel-qcow2-linux-73fc0ac4a69506ead7cf0c0ad0ef79f283766f25.zip
drm/omap: displays: Don't call disconnect handlers directly
In preparation for the move of checks from the disconnect handlers to the omapdss_device_disconnect() function, replace direct calls to the disconnect handlers at remove time with calls to omapdss_device_disconnect(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/connector-hdmi.c')
-rw-r--r--drivers/gpu/drm/omapdrm/displays/connector-hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/connector-hdmi.c b/drivers/gpu/drm/omapdrm/displays/connector-hdmi.c
index 665af9932317..671f2f29c8d3 100644
--- a/drivers/gpu/drm/omapdrm/displays/connector-hdmi.c
+++ b/drivers/gpu/drm/omapdrm/displays/connector-hdmi.c
@@ -375,7 +375,7 @@ static int __exit hdmic_remove(struct platform_device *pdev)
omapdss_unregister_display(&ddata->dssdev);
hdmic_disable(dssdev);
- hdmic_disconnect(dssdev);
+ omapdss_device_disconnect(dssdev, NULL);
return 0;
}