mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "msm; kgsl: Correct secure pagetable pointer check"
This commit is contained in:
commit
f2de41e350
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ static int kgsl_iommu_get_gpuaddr(struct kgsl_pagetable *pagetable,
|
|||
static void kgsl_iommu_map_secure_global(struct kgsl_mmu *mmu,
|
||||
struct kgsl_memdesc *memdesc)
|
||||
{
|
||||
if (!mmu->securepagetable)
|
||||
if (IS_ERR_OR_NULL(mmu->securepagetable))
|
||||
return;
|
||||
|
||||
if (!memdesc->gpuaddr) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue