mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
rk3368: iommu: remove hjc's commit
Signed-off-by: Simon <xxm@rock-chips.com>
This commit is contained in:
parent
6f24f43f6e
commit
551c61b2ce
7
drivers/iommu/rockchip-iovmm.c
Executable file → Normal file
7
drivers/iommu/rockchip-iovmm.c
Executable file → Normal file
|
|
@ -148,12 +148,9 @@ dma_addr_t rockchip_iovmm_map(struct device *dev,
|
|||
spin_unlock(&vmm->lock);
|
||||
|
||||
ret = rockchip_iommu_tlb_invalidate(dev);
|
||||
if (ret) {
|
||||
spin_lock(&vmm->lock);
|
||||
list_del(®ion->node);
|
||||
spin_unlock(&vmm->lock);
|
||||
if (ret)
|
||||
goto err_map_map;
|
||||
}
|
||||
|
||||
dev_dbg(dev->archdata.iommu, "IOVMM: Allocated VM region @ %p/%#X bytes.\n",
|
||||
®ion->start, region->size);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user