Message ID | 1414796095-10107-68-git-send-email-steve_longerbeam@mentor.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c b/drivers/staging/imx-drm/ipuv3-crtc.c index 65fe429..53241fd 100644 --- a/drivers/staging/imx-drm/ipuv3-crtc.c +++ b/drivers/staging/imx-drm/ipuv3-crtc.c @@ -637,6 +637,8 @@ static void ipu_drm_unbind(struct device *dev, struct device *master, { struct ipu_crtc *ipu_crtc = dev_get_drvdata(dev); + ipu_fb_disable(ipu_crtc); + imx_drm_remove_crtc(ipu_crtc->imx_crtc); ipu_plane_put_resources(&ipu_crtc->plane[0]);
Call ipu_fb_disable() in the crtc unbind method, in case the crtc has been left enabled. Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com> --- drivers/staging/imx-drm/ipuv3-crtc.c | 2 ++ 1 file changed, 2 insertions(+)