projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c0794d
)
gpu midgard : avoid hard reset isp mmu when initiate
author
xxm
<xxm@rock-chips.com>
Thu, 17 Apr 2014 09:46:05 +0000
(17:46 +0800)
committer
Cody Xie
<Cody.Xie@rock-chips.com>
Thu, 17 Apr 2014 10:18:04 +0000
(18:18 +0800)
drivers/iommu/rockchip-iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/rockchip-iommu.c
b/drivers/iommu/rockchip-iommu.c
index 4d96f1e61a6e63c95369b745bf4d7a807922ee85..2ad9ca152155483efe89e4e54e15b8dd1526cbdc 100755
(executable)
--- a/
drivers/iommu/rockchip-iommu.c
+++ b/
drivers/iommu/rockchip-iommu.c
@@
-1044,11
+1044,14
@@
static int rockchip_sysmmu_probe(struct platform_device *pdev)
ret = -ENOENT;
goto err_res;
}
- /*reset sysmmu*/
- if(!sysmmu_reset(data->res_bases[i],data->dbgname))
+ if(!strstr(data->dbgname,"isp"))
{
- ret = -ENOENT;
- goto err_res;
+ /*reset sysmmu*/
+ if(!sysmmu_reset(data->res_bases[i],data->dbgname))
+ {
+ ret = -ENOENT;
+ goto err_res;
+ }
}
}