Thread (1 message) 1 message, 1 author, 2012-04-11

[RFC 1/4] iommu: tegra/gart: use correct gart_device

From: Thierry Reding <hidden>
Date: 2012-04-11 12:10:27
Also in: dri-devel, linux-iommu, linux-tegra
Subsystem: iommu subsystem, tegra iommu drivers, the rest · Maintainers: Joerg Roedel, Will Deacon, Thierry Reding, Linus Torvalds

From: Vandana Salve <redacted>

Pass the correct gart device pointer.

Reviewed-by: Vandana Salve <redacted>
Tested-by: Vandana Salve <redacted>
Reviewed-by: Hiroshi Doyu <redacted>
Reviewed-by: Bharat Nihalani <redacted>
Signed-off-by: Hiroshi DOYU <redacted>
---
 drivers/iommu/tegra-gart.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/tegra-gart.c b/drivers/iommu/tegra-gart.c
index 779306e..f6bc1e6 100644
--- a/drivers/iommu/tegra-gart.c
+++ b/drivers/iommu/tegra-gart.c
@@ -158,7 +158,7 @@ static int gart_iommu_attach_dev(struct iommu_domain *domain,
 	struct gart_client *client, *c;
 	int err = 0;
 
-	gart = dev_get_drvdata(dev->parent);
+	gart = gart_handle;
 	if (!gart)
 		return -EINVAL;
 	domain->priv = gart;
-- 
1.7.10
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help