Re: [PATCH] media: switch from 'pci_' to 'dma_' API

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

 



>  drivers/media/pci/pt1/pt1.c                   |  2 +-

> diff --git a/drivers/media/pci/pt1/pt1.c b/drivers/media/pci/pt1/pt1.c
> index f2aa36814fba..121a4a92ea10 100644
> --- a/drivers/media/pci/pt1/pt1.c
> +++ b/drivers/media/pci/pt1/pt1.c
> @@ -1340,7 +1340,7 @@ static int pt1_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
>  	if (ret < 0)
>  		goto err;
>  
> -	ret = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
> +	ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32));
>  	if (ret < 0)
>  		goto err_pci_disable_device;
>  

Acked-by: Akihiro Tsukada <tskd08@xxxxxxxxx>
Tested-by: Akihiro Tsukada <tskd08@xxxxxxxxx>

--
tsukada



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux