From: Daniel Scheller <d.scheller.oss@gmail.com>
To: linux-media@vger.kernel.org, hverkuil@xs4all.nl
Cc: jasmin@anw.at, mchehab@kernel.org
Subject: [PATCH 2/3] [media_build] patch pci_alloc_irq_vectors() for ddbridge aswell
Date: Sun, 20 Aug 2017 16:36:47 +0200 [thread overview]
Message-ID: <20170820143648.27669-3-d.scheller.oss@gmail.com> (raw)
In-Reply-To: <20170820143648.27669-1-d.scheller.oss@gmail.com>
From: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
backports/v4.7_pci_alloc_irq_vectors.patch | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/backports/v4.7_pci_alloc_irq_vectors.patch b/backports/v4.7_pci_alloc_irq_vectors.patch
index 64867fa..e15d521 100644
--- a/backports/v4.7_pci_alloc_irq_vectors.patch
+++ b/backports/v4.7_pci_alloc_irq_vectors.patch
@@ -42,3 +42,16 @@ index 00f773e..ed00dc9 100644
/* omnitek dma */
int dma_channels;
int first_fifo_channel;
+diff --git a/drivers/media/pci/ddbridge/ddbridge.c b/drivers/media/pci/ddbridge/ddbridge.c
+index fab421f..031288a 100644
+--- a/drivers/media/pci/ddbridge/ddbridge-main.c
++++ b/drivers/media/pci/ddbridge/ddbridge-main.c
+@@ -109,7 +109,7 @@ static void ddb_irq_msi(struct ddb *dev, int nr)
+ int stat;
+
+ if (msi && pci_msi_enabled()) {
+- stat = pci_alloc_irq_vectors(dev->pdev, 1, nr, PCI_IRQ_MSI);
++ stat = pci_enable_msi_range(dev->pdev, 1, nr);
+ if (stat >= 1) {
+ dev->msi = stat;
+ dev_info(dev->dev, "using %d MSI interrupt(s)\n",
--
2.13.0
next prev parent reply other threads:[~2017-08-20 14:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-20 14:36 [PATCH 0/3] media_build: fixes wrt the ddbridge code bump Daniel Scheller
2017-08-20 14:36 ` [PATCH 1/3] [media_build] fix pr_fmt patch " Daniel Scheller
2017-08-20 14:36 ` Daniel Scheller [this message]
2017-08-20 14:36 ` [PATCH 3/3] [media_build] add compat for __GFP_RETRY_MAYFAIL Daniel Scheller
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=20170820143648.27669-3-d.scheller.oss@gmail.com \
--to=d.scheller.oss@gmail.com \
--cc=hverkuil@xs4all.nl \
--cc=jasmin@anw.at \
--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 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.