Skip to content

Commit

Permalink
drm/fsl-dcu: disable output polling on driver unload
Browse files Browse the repository at this point in the history
Disabling output polling before unloading the driver.

Signed-off-by: Stefan Agner <stefan@agner.ch>
  • Loading branch information
Stefan Agner committed Apr 26, 2016
1 parent afb49e4 commit 7d17a62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ static int fsl_dcu_load(struct drm_device *dev, unsigned long flags)

return 0;
done:
drm_kms_helper_poll_fini(dev);

if (fsl_dev->fbdev)
drm_fbdev_cma_fini(fsl_dev->fbdev);

Expand All @@ -106,6 +108,8 @@ static int fsl_dcu_unload(struct drm_device *dev)
{
struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;

drm_kms_helper_poll_fini(dev);

if (fsl_dev->fbdev)
drm_fbdev_cma_fini(fsl_dev->fbdev);

Expand Down

0 comments on commit 7d17a62

Please sign in to comment.