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]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux