From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bn3nam01on0045.outbound.protection.outlook.com ([104.47.33.45]:27338 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754067AbeFYIbS (ORCPT ); Mon, 25 Jun 2018 04:31:18 -0400 From: Alan Douglas Subject: [PATCH 1/5] PCI: cadence: Update cdns_pcie_writel function signature Date: Mon, 25 Jun 2018 09:30:49 +0100 Message-ID: <1529915453-4633-2-git-send-email-adouglas@cadence.com> In-Reply-To: <1529915453-4633-1-git-send-email-adouglas@cadence.com> References: <1529915453-4633-1-git-send-email-adouglas@cadence.com> MIME-Version: 1.0 Content-Type: text/plain Sender: devicetree-owner@vger.kernel.org To: bhelgaas@google.com, kishon@ti.com, lorenzo.pieralisi@arm.com Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, Alan Douglas List-ID: Change cdns_pcie_writel() signature, u16 value changed to u32, since this function should write a long value Signed-off-by: Alan Douglas --- drivers/pci/controller/pcie-cadence.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/controller/pcie-cadence.h b/drivers/pci/controller/pcie-cadence.h index 4bb2733..ed336cc 100644 --- a/drivers/pci/controller/pcie-cadence.h +++ b/drivers/pci/controller/pcie-cadence.h @@ -279,7 +279,7 @@ static inline void cdns_pcie_ep_fn_writew(struct cdns_pcie *pcie, u8 fn, } static inline void cdns_pcie_ep_fn_writel(struct cdns_pcie *pcie, u8 fn, - u32 reg, u16 value) + u32 reg, u32 value) { writel(value, pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg); } -- 1.7.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bn3nam01on0045.outbound.protection.outlook.com ([104.47.33.45]:27338 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754067AbeFYIbS (ORCPT ); Mon, 25 Jun 2018 04:31:18 -0400 From: Alan Douglas To: , , CC: , , , Alan Douglas Subject: [PATCH 1/5] PCI: cadence: Update cdns_pcie_writel function signature Date: Mon, 25 Jun 2018 09:30:49 +0100 Message-ID: <1529915453-4633-2-git-send-email-adouglas@cadence.com> In-Reply-To: <1529915453-4633-1-git-send-email-adouglas@cadence.com> References: <1529915453-4633-1-git-send-email-adouglas@cadence.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-pci-owner@vger.kernel.org List-ID: Change cdns_pcie_writel() signature, u16 value changed to u32, since this function should write a long value Signed-off-by: Alan Douglas --- drivers/pci/controller/pcie-cadence.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/controller/pcie-cadence.h b/drivers/pci/controller/pcie-cadence.h index 4bb2733..ed336cc 100644 --- a/drivers/pci/controller/pcie-cadence.h +++ b/drivers/pci/controller/pcie-cadence.h @@ -279,7 +279,7 @@ static inline void cdns_pcie_ep_fn_writew(struct cdns_pcie *pcie, u8 fn, } static inline void cdns_pcie_ep_fn_writel(struct cdns_pcie *pcie, u8 fn, - u32 reg, u16 value) + u32 reg, u32 value) { writel(value, pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg); } -- 1.7.1