iommu/io-pgtable: don't flush the tlb in free_io_pgtable_ops()
The iommu domain must be detached before the pagetable is freed, if any TLB maintenance is needed it should be done by iommu_detach_device(). Change-Id: I119d0e127e122de1263c80c73d40ff6edf16c875 Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
This commit is contained in:
parent
fe676929a9
commit
c85a9eeb3f
1 changed files with 0 additions and 1 deletions
|
@ -84,7 +84,6 @@ void free_io_pgtable_ops(struct io_pgtable_ops *ops)
|
|||
return;
|
||||
|
||||
iop = container_of(ops, struct io_pgtable, ops);
|
||||
iop->cfg.tlb->tlb_flush_all(iop->cookie);
|
||||
io_pgtable_init_table[iop->fmt]->free(iop);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue