drm/msm/mdp: Detach iommu in mdp4_destroy
authorSricharan R <sricharan@codeaurora.org>
Thu, 25 Feb 2016 05:49:44 +0000 (11:19 +0530)
committerRob Clark <robdclark@gmail.com>
Wed, 2 Mar 2016 21:19:44 +0000 (16:19 -0500)
commitf759020530e8f433aff744598374f77c1749dc50
tree037453c353435e0c7ec051aeb1b9a6f2dae344d8
parentd72ab599319b0e802b3692ff4391a69728143ee5
drm/msm/mdp: Detach iommu in mdp4_destroy

attach_dev gets called in mdp4_kms_init, but there is no corresponding
detach_dev called in the error path or in the kms driver unload path.

Detach and destroy mmu in mdp4_destroy.

Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h