mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 02:19:51 +00:00
drm/fsl-dcu: disable output polling on driver unload
Disabling output polling before unloading the driver. Signed-off-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
parent
afb49e4d38
commit
7d17a6264c
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue