diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-01-11 05:50:34 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-02-06 13:39:00 +0200 |
commit | 0940c52742de0d2f70ba687bfd5fe8aa38c5f27d (patch) | |
tree | e194ae0055d4f9994cc04ff829da0ac1a64aec98 /drivers/gpu/drm/vkms/vkms_crtc.c | |
parent | 4df04ac9b37f278c48bb696289aff8f81226af4b (diff) |
drm/omap: dsi: Fix OF platform depopulate
Commit edb715dffdee ("drm/omap: dss: dsi: Move initialization code from
bind to probe") moved the of_platform_populate() call from dsi_bind() to
dsi_probe(), but failed to move the corresponding
of_platform_depopulate() from dsi_unbind() to dsi_remove(). This results
in OF child devices being potentially removed multiple times. Fix it by
placing the of_platform_depopulate() call where it belongs.
Fixes: edb715dffdee ("drm/omap: dss: dsi: Move initialization code from bind to probe")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190111035120.20668-4-laurent.pinchart@ideasonboard.com
Diffstat (limited to 'drivers/gpu/drm/vkms/vkms_crtc.c')
0 files changed, 0 insertions, 0 deletions