29 May
2015
29 May
'15
8:25 p.m.
At Fri, 29 May 2015 18:41:15 +0100, Mark Brown wrote:
+/* PCI register access. */ +static void pci_azx_writel(u32 value, u32 __iomem *addr) +{
- writel(value, addr);
+}
These wrappers are setting off alarm bells - why can't we just use the called functions directly, and given the parameters (which have just a raw pointer and value) what else could the implementation be?
Tegra has no direct byte access but only aligned 32bit accesses. That's why we have the redirection.
Takashi