From patchwork Sat Dec 9 00:18:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jasmin J." X-Patchwork-Id: 10103457 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 223AC60325 for ; Sat, 9 Dec 2017 00:19:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15E4A28FF0 for ; Sat, 9 Dec 2017 00:19:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0ABA328FF3; Sat, 9 Dec 2017 00:19:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 958C428FF0 for ; Sat, 9 Dec 2017 00:19:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753462AbdLIATw (ORCPT ); Fri, 8 Dec 2017 19:19:52 -0500 Received: from mail.anw.at ([195.234.101.228]:57917 "EHLO mail.anw.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753712AbdLIAS4 (ORCPT ); Fri, 8 Dec 2017 19:18:56 -0500 Received: from hoppel.217.196.72.190 (anwhome.anw.at [195.234.103.23]) by mail.anw.at (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id vB90ItS0028668; Sat, 9 Dec 2017 01:18:55 +0100 From: "Jasmin J." To: linux-media@vger.kernel.org Cc: hverkuil@xs4all.nl, d.scheller@gmx.net, jasmin@anw.at Subject: [PATCH] build: Remove patch v3.13_ddbridge_pcimsi Date: Sat, 9 Dec 2017 01:18:50 +0100 Message-Id: <1512778730-12349-1-git-send-email-jasmin@anw.at> X-Mailer: git-send-email 2.7.4 X-Antivirus: checked in 0.020sec at mail.anw.at ([195.234.102.72]) by smf-clamd v1.2.1 - http://smfs.sf.net/ Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jasmin Jessich Signed-off-by: Jasmin Jessich --- backports/backports.txt | 3 --- backports/v3.13_ddbridge_pcimsi.patch | 29 ----------------------------- 2 files changed, 32 deletions(-) delete mode 100644 backports/v3.13_ddbridge_pcimsi.patch diff --git a/backports/backports.txt b/backports/backports.txt index 78dfb9c..da097ce 100644 --- a/backports/backports.txt +++ b/backports/backports.txt @@ -87,9 +87,6 @@ add v3.16_netdev.patch add v3.16_wait_on_bit.patch add v3.16_void_gpiochip_remove.patch -[3.13.255] -add v3.13_ddbridge_pcimsi.patch - [3.12.255] add v3.12_kfifo_in.patch diff --git a/backports/v3.13_ddbridge_pcimsi.patch b/backports/v3.13_ddbridge_pcimsi.patch deleted file mode 100644 index 5f602a7..0000000 --- a/backports/v3.13_ddbridge_pcimsi.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/drivers/media/pci/ddbridge/ddbridge-main.c b/drivers/media/pci/ddbridge/ddbridge-main.c -index 9ab4736..50c3b4f 100644 ---- a/drivers/media/pci/ddbridge/ddbridge-main.c -+++ b/drivers/media/pci/ddbridge/ddbridge-main.c -@@ -129,13 +129,18 @@ static void ddb_irq_msi(struct ddb *dev, int nr) - int stat; - - if (msi && pci_msi_enabled()) { -- 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", -- dev->msi); -- } else -+ stat = pci_enable_msi_block(dev->pdev, nr); -+ if (stat == 0) { -+ dev->msi = nr; -+ } else if (stat == 1) { -+ stat = pci_enable_msi(dev->pdev); -+ dev->msi = 1; -+ } -+ if (stat < 0) - dev_info(dev->dev, "MSI not available.\n"); -+ else -+ dev_info(dev->dev, "using %d MSI interrupts\n", -+ dev->msi); - } - } - #endif