mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "disp: msm: sde: avoid double mmu destroy during mmu init failure"
This commit is contained in:
commit
9f952e6831
1 changed files with 1 additions and 1 deletions
|
|
@ -3549,6 +3549,7 @@ static int _sde_kms_mmu_init(struct sde_kms *sde_kms)
|
|||
mmu, "sde");
|
||||
if (IS_ERR(aspace)) {
|
||||
ret = PTR_ERR(aspace);
|
||||
mmu->funcs->destroy(mmu);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
@ -3585,7 +3586,6 @@ static int _sde_kms_mmu_init(struct sde_kms *sde_kms)
|
|||
early_map_fail:
|
||||
_sde_kms_unmap_all_splash_regions(sde_kms);
|
||||
fail:
|
||||
mmu->funcs->destroy(mmu);
|
||||
_sde_kms_mmu_destroy(sde_kms);
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue