[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <25694cb6-ef03-7ef4-f096-257bcb560bbb@gmail.com>
Date: Mon, 23 Aug 2021 17:09:08 +0900
From: Akihiro TSUKADA <tskd08@...il.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
mchehab@...nel.org
Cc: linux-media@...r.kernel.org, linaro-mm-sig@...ts.linaro.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] media: switch from 'pci_' to 'dma_' API
> 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@...il.com>
Tested-by: Akihiro Tsukada <tskd08@...il.com>
--
tsukada
Powered by blists - more mailing lists