From: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
To: Christoph Hellwig <hch@lst.de>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Don Fry <pcnet32@frontier.com>, Oliver Neukum <oneukum@suse.com>,
linux-net-drivers@solarflare.com,
dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org,
netdev@vger.kernel.org, linux-parisc@vger.kernel.org,
linux-serial@vger.kernel.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 05/15] cx88: use pci_set_dma_mask insted of pci_dma_supported
Date: Sat, 3 Oct 2015 13:58:16 -0300 [thread overview]
Message-ID: <20151003135816.23cb243f@recife.lan> (raw)
In-Reply-To: <1443885579-7094-6-git-send-email-hch@lst.de>
Hi Christoph,
Em Sat, 3 Oct 2015 17:19:29 +0200
Christoph Hellwig <hch@lst.de> escreveu:
> This ensures the dma mask that is supported by the driver is recorded
> in the device structure.
For this and the other patches touching at drivers/media:
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> drivers/media/pci/cx88/cx88-alsa.c | 2 +-
> drivers/media/pci/cx88/cx88-mpeg.c | 2 +-
> drivers/media/pci/cx88/cx88-video.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/media/pci/cx88/cx88-alsa.c b/drivers/media/pci/cx88/cx88-alsa.c
> index 7f8dc60..0703a81 100644
> --- a/drivers/media/pci/cx88/cx88-alsa.c
> +++ b/drivers/media/pci/cx88/cx88-alsa.c
> @@ -890,7 +890,7 @@ static int snd_cx88_create(struct snd_card *card, struct pci_dev *pci,
> return err;
> }
>
> - if (!pci_dma_supported(pci,DMA_BIT_MASK(32))) {
> + if (!pci_set_dma_mask(pci,DMA_BIT_MASK(32))) {
> dprintk(0, "%s/1: Oops: no 32bit PCI DMA ???\n",core->name);
> err = -EIO;
> cx88_core_put(core, pci);
> diff --git a/drivers/media/pci/cx88/cx88-mpeg.c b/drivers/media/pci/cx88/cx88-mpeg.c
> index 34f5057..9b3b565 100644
> --- a/drivers/media/pci/cx88/cx88-mpeg.c
> +++ b/drivers/media/pci/cx88/cx88-mpeg.c
> @@ -393,7 +393,7 @@ static int cx8802_init_common(struct cx8802_dev *dev)
> if (pci_enable_device(dev->pci))
> return -EIO;
> pci_set_master(dev->pci);
> - if (!pci_dma_supported(dev->pci,DMA_BIT_MASK(32))) {
> + if (!pci_set_dma_mask(dev->pci,DMA_BIT_MASK(32))) {
> printk("%s/2: Oops: no 32bit PCI DMA ???\n",dev->core->name);
> return -EIO;
> }
> diff --git a/drivers/media/pci/cx88/cx88-video.c b/drivers/media/pci/cx88/cx88-video.c
> index 400e5ca..f12af31 100644
> --- a/drivers/media/pci/cx88/cx88-video.c
> +++ b/drivers/media/pci/cx88/cx88-video.c
> @@ -1311,7 +1311,7 @@ static int cx8800_initdev(struct pci_dev *pci_dev,
> dev->pci_lat,(unsigned long long)pci_resource_start(pci_dev,0));
>
> pci_set_master(pci_dev);
> - if (!pci_dma_supported(pci_dev,DMA_BIT_MASK(32))) {
> + if (!pci_set_dma_mask(pci_dev,DMA_BIT_MASK(32))) {
> printk("%s/0: Oops: no 32bit PCI DMA ???\n",core->name);
> err = -EIO;
> goto fail_core;
next prev parent reply other threads:[~2015-10-03 16:58 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-03 15:19 remove dma_supported and pci_dma_supported as public APIs Christoph Hellwig
2015-10-03 15:19 ` [PATCH 01/15] pcnet32: use pci_set_dma_mask insted of pci_dma_supported Christoph Hellwig
2015-10-06 3:57 ` Don Fry
2015-10-03 15:19 ` [PATCH 02/15] tw68-core: " Christoph Hellwig
2015-10-03 15:19 ` [PATCH 03/15] saa7164: " Christoph Hellwig
2015-10-03 15:19 ` [PATCH 04/15] saa7134: " Christoph Hellwig
[not found] ` <1443885579-7094-1-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2015-10-03 15:19 ` [PATCH 05/15] cx88: " Christoph Hellwig
2015-10-03 15:19 ` Christoph Hellwig
2015-10-03 16:58 ` Mauro Carvalho Chehab [this message]
2015-10-03 15:19 ` [PATCH 06/15] cx25821: " Christoph Hellwig
2015-10-03 15:19 ` [PATCH 07/15] cx23885: " Christoph Hellwig
2015-10-03 15:19 ` [PATCH 08/15] netup_unidvb: " Christoph Hellwig
2015-10-07 8:03 ` Abylay Ospan
2015-10-03 15:19 ` [PATCH 09/15] mpsc: use dma_set_mask insted of dma_supported Christoph Hellwig
2015-10-03 15:19 ` [PATCH 10/15] nouveau: don't call pci_dma_supported Christoph Hellwig
2015-10-03 15:19 ` [PATCH 11/15] sfc: don't call dma_supported Christoph Hellwig
2015-10-05 15:08 ` Bert Kenward
2015-10-05 15:08 ` Bert Kenward
2015-10-05 15:08 ` Bert Kenward
2015-10-03 15:19 ` [PATCH 12/15] kaweth: remove ifdefed out call to dma_supported Christoph Hellwig
2015-10-03 15:19 ` [PATCH 13/15] usbnet: " Christoph Hellwig
2015-10-03 15:19 ` [PATCH 14/15] pci: remove pci_dma_supported Christoph Hellwig
2015-10-03 15:19 ` [PATCH 15/15] dma: remove external references to dma_supported Christoph Hellwig
2015-10-04 9:57 ` Greg KH
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=20151003135816.23cb243f@recife.lan \
--to=mchehab@osg.samsung.com \
--cc=akpm@linux-foundation.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-net-drivers@solarflare.com \
--cc=linux-parisc@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oneukum@suse.com \
--cc=pcnet32@frontier.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.