Commit 543f3f33 authored by Vandana Salve's avatar Vandana Salve Committed by Joerg Roedel

iommu: tegra/gart: use correct gart_device

Pass the correct gart device pointer.
Reviewed-by: default avatarVandana Salve <vsalve@nvidia.com>
Tested-by: default avatarVandana Salve <vsalve@nvidia.com>
Reviewed-by: default avatarHiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: default avatarBharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: default avatarHiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 90730917
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment