Re: [PATCH 1/3] iommu: tegra/gart: use correct gart_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Applied patches 1 and 2. Should I also queue up patch 3 after the
objections have been fixed? The patch doesn't touch drivers/iommu...


	Joerg

On Fri, Apr 13, 2012 at 03:08:07PM +0200, Thierry Reding wrote:
> From: Vandana Salve <vsalve@xxxxxxxxxx>
> 
> Pass the correct gart device pointer.
> 
> Reviewed-by: Vandana Salve <vsalve@xxxxxxxxxx>
> Tested-by: Vandana Salve <vsalve@xxxxxxxxxx>
> Reviewed-by: Hiroshi Doyu <hdoyu@xxxxxxxxxx>
> Reviewed-by: Bharat Nihalani <bnihalani@xxxxxxxxxx>
> Signed-off-by: Hiroshi DOYU <hdoyu@xxxxxxxxxx>
> ---
>  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
> 

-- 
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux