From: Akihiro TSUKADA <tskd08@gmail.com>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>, mchehab@kernel.org
Cc: linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] media: switch from 'pci_' to 'dma_' API
Date: Mon, 23 Aug 2021 17:09:08 +0900 [thread overview]
Message-ID: <25694cb6-ef03-7ef4-f096-257bcb560bbb@gmail.com> (raw)
In-Reply-To: <71a7e0029ce28ec748eb045c8381d354011cebe6.1629623093.git.christophe.jaillet@wanadoo.fr>
> 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@gmail.com>
Tested-by: Akihiro Tsukada <tskd08@gmail.com>
--
tsukada
prev parent reply other threads:[~2021-08-23 8:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-22 9:30 Christophe JAILLET
2021-08-23 8:00 ` Sakari Ailus
2021-08-23 8:09 ` Akihiro TSUKADA [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25694cb6-ef03-7ef4-f096-257bcb560bbb@gmail.com \
--to=tskd08@gmail.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linaro-mm-sig@lists.linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®