From patchwork Mon Aug 1 07:05:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 9253847 X-Patchwork-Delegate: bhelgaas@google.com 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 5D9226048B for ; Mon, 1 Aug 2016 07:18:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 495FF2849E for ; Mon, 1 Aug 2016 07:18:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3DAA8284A3; Mon, 1 Aug 2016 07:18:52 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 D76162849E for ; Mon, 1 Aug 2016 07:18:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751059AbcHAHSv (ORCPT ); Mon, 1 Aug 2016 03:18:51 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36500 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750740AbcHAHRv (ORCPT ); Mon, 1 Aug 2016 03:17:51 -0400 Received: by mail-pf0-f195.google.com with SMTP id y134so9820415pfg.3 for ; Mon, 01 Aug 2016 00:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=NQ7WdblChr4TKzxZmycKhuLOsfOoblQS5h/gu8fq8kI=; b=M35WMaTVxcR8XDkoPJuWIHmSbzZ4yH5C31WHFpm8wD1dIhzKW0rzt8qHm6gT2l8pH3 dhPgkGAuhbM5K/k/87t6kJOgMBcwDVuMcFLcr7AlTWGnE+6oP8+ceCdstL5uhMN2MGY3 DApkDf1d+PwuU69bHeccev/5UUhW0gBLLKBTC7UN142TpvwLC/HG4gMkRTGbu6axzoAd Hibmb5WWDsLOKjN7xulEB44uckH/VHobxIzloxK9XAtDd1LVBMqVaxCshCOMg5jolzd0 J7zG06PU+IWYS0GTUCi2U2omUn8YTzuhcSe73zgeOgHEzimm/WmNLVuwB8b0cjnyLPXo sNpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=NQ7WdblChr4TKzxZmycKhuLOsfOoblQS5h/gu8fq8kI=; b=j+YzCgguAiO1mT7CjIWGOfOWxpyaiEuhnCXOwiUFR1fjkBUEKTp6+0gxtWkPm/+oVp vrqdSyApWG+zfMAOXpOKpGB9WK2EM79k3W1hVUm+KvviimPh0vZSyNSwStT4+v1VHNWW Fzee38bmaK5OfCFyeXo060eF+yVI5Z+65M5+yNvNWgQnnR1zl4PzERhJ6feFKMMwWWwb B3ERGoZ5M61oP50x7BZ7mE1KHM3yTaQRDQSRyXgkXp9+EBAgV4nZiGcoXCaaGEsRhJOw aZ6lZDY7hMsLfjTfuab2YZUX63BrZud6Ssg0vp0vQq5X8IjryxvnFxJw+0a7mm6QCTJi VlFg== X-Gm-Message-State: AEkoousUBNO8/otCDB3hkgB+eLlA/UJ0+TO43ld3iz9z5Y9qNiRgi5v8MFqANhWJfDVaAA== X-Received: by 10.98.25.8 with SMTP id 8mr92988072pfz.94.1470035143957; Mon, 01 Aug 2016 00:05:43 -0700 (PDT) Received: from localhost (port-18465.pppoe.wtnet.de. [46.59.133.191]) by smtp.gmail.com with ESMTPSA id 184sm42665708pfg.20.2016.08.01.00.05.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Aug 2016 00:05:42 -0700 (PDT) From: Thierry Reding To: Bjorn Helgaas Cc: Jon Hunter , linux-pci@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH] PCI: tegra: Remove stray call to pci_ioremap_io() Date: Mon, 1 Aug 2016 09:05:39 +0200 Message-Id: <20160801070539.24779-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.9.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding This was introduced by an unfortunate interaction between commits 45c64b6ac4ef ("PCI: tegra: Request host bridge window resources with core function") and e6e9f471f5fe ("PCI: tegra: Use generic pci_remap_iospace() rather than ARM32-specific one"). Signed-off-by: Thierry Reding Acked-by: Jon Hunter Tested-by: Jon Hunter --- drivers/pci/host/pci-tegra.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c index 2544937620a5..6de0757b11e4 100644 --- a/drivers/pci/host/pci-tegra.c +++ b/drivers/pci/host/pci-tegra.c @@ -621,8 +621,6 @@ static int tegra_pcie_setup(int nr, struct pci_sys_data *sys) if (err < 0) return err; - pci_ioremap_io(pcie->pio.start, pcie->io.start); - pci_add_resource_offset(&sys->resources, &pcie->pio, sys->io_offset); pci_add_resource_offset(&sys->resources, &pcie->mem, sys->mem_offset); pci_add_resource_offset(&sys->resources, &pcie->prefetch,