]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Fix IOMMU clean up path in case msm_iommu_new() fails
authorStephane Viau <sviau@codeaurora.org>
Tue, 15 Sep 2015 12:41:46 +0000 (08:41 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 22 Oct 2015 19:39:54 +0000 (15:39 -0400)
commit14aa4f39426ec08fcaebd75ed28d55a362f89616
tree4cb1fefee21aaa06740a64b067c6836ce53fe7ae
parentc7bf7e1c99290c9de63171eb24de638ee7096128
drm/msm: Fix IOMMU clean up path in case msm_iommu_new() fails

msm_iommu_new() can fail and this change makes sure that we
detect the failure and free the allocated domain before going
any further.

Signed-off-by: Stephane Viau <sviau@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/msm_gpu.c