iommu: delete log when map and unmap
authorxxm <xxm@rock-chips.com>
Thu, 24 Apr 2014 09:47:51 +0000 (17:47 +0800)
committerCody Xie <Cody.Xie@rock-chips.com>
Thu, 24 Apr 2014 09:47:55 +0000 (17:47 +0800)
drivers/iommu/rockchip-iovmm.c

index 90fcefc08bae72c786597d46994d866fcdfb1fba..6ba3d084cef8e79c35187fbb7a93139f32151253 100755 (executable)
@@ -136,9 +136,9 @@ dma_addr_t iovmm_map(struct device *dev,struct scatterlist *sg, off_t offset,siz
        spin_unlock(&vmm->lock);
 
        rockchip_sysmmu_tlb_invalidate(dev);
-
+       /*
        pr_err("IOVMM: Allocated VM region @ %#x/%#X bytes.\n",region->start, region->size);
-
+       */
        return region->start;
 
 err_map_map:
@@ -182,8 +182,9 @@ void iovmm_unmap(struct device *dev, dma_addr_t iova)
        gen_pool_free(vmm->vmm_pool, region->start, region->size);
 
        WARN_ON(unmapped_size != region->size);
+       /*
        pr_err("IOVMM: Unmapped %#x bytes from %#x.\n",unmapped_size, region->start);
-
+       */
        kfree(region);
 }