* [PATCH v2 1/4] PCI: cadence: Update cdns_pcie_writel function signature
@ 2018-05-21 17:30 Alan Douglas
0 siblings, 0 replies; only message in thread
From: Alan Douglas @ 2018-05-21 17:30 UTC (permalink / raw)
To: bhelgaas, kishon, lorenzo.pieralisi, linux-pci
Cc: cyrille.pitchen, linux-pci, devicetree, linux-kernel, nsekhar
From: Alan Douglas <adouglas@cadence.com>
Change cdns_pcie_writel() signature, u16 value changed to u32, since
this function should write a long value
Signed-off-by: Alan Douglas <adouglas@cadence.com>
---
drivers/pci/cadence/pcie-cadence.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/cadence/pcie-cadence.h b/drivers/pci/cadence/pcie-cadence.h
index 4bb2733..ed336cc 100644
--- a/drivers/pci/cadence/pcie-cadence.h
+++ b/drivers/pci/cadence/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);
}
--
2.2.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-21 17:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21 17:30 [PATCH v2 1/4] PCI: cadence: Update cdns_pcie_writel function signature Alan Douglas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).