On 08/13/13 09:11, Thomas Petazzoni wrote:
On Mon, 12 Aug 2013 20:46:47 +0200, Sebastian Hesselbarth wrote:
+ port->clk = of_clk_get_by_name(child, NULL);
+ if (IS_ERR(port->clk)) {
+ dev_err(>dev, "PCIe%d.%d: cannot get clock\n",
+
On Mon, Aug 12, 2013 at 08:46:47PM +0200, Sebastian Hesselbarth wrote:
[...]
> diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c
[...]
> @@ -897,6 +897,16 @@ static int __init mvebu_pcie_probe(struct
> platform_device *pdev)
> continue;
>
Dear Sebastian Hesselbarth,
On Mon, 12 Aug 2013 20:46:47 +0200, Sebastian Hesselbarth wrote:
> + port->clk = of_clk_get_by_name(child, NULL);
> + if (IS_ERR(port->clk)) {
> + dev_err(>dev, "PCIe%d.%d: cannot get clock\n",
> +
Dear Sebastian Hesselbarth,
On Mon, 12 Aug 2013 20:46:47 +0200, Sebastian Hesselbarth wrote:
+ port-clk = of_clk_get_by_name(child, NULL);
+ if (IS_ERR(port-clk)) {
+ dev_err(pdev-dev, PCIe%d.%d: cannot get clock\n,
+
On Mon, Aug 12, 2013 at 08:46:47PM +0200, Sebastian Hesselbarth wrote:
[...]
diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c
[...]
@@ -897,6 +897,16 @@ static int __init mvebu_pcie_probe(struct
platform_device *pdev)
continue;
}
On 08/13/13 09:11, Thomas Petazzoni wrote:
On Mon, 12 Aug 2013 20:46:47 +0200, Sebastian Hesselbarth wrote:
+ port-clk = of_clk_get_by_name(child, NULL);
+ if (IS_ERR(port-clk)) {
+ dev_err(pdev-dev, PCIe%d.%d: cannot get clock\n,
+
The clock passed to PCI controller found on MVEBU SoCs may come from a
clock gate. This requires the clock to be enabled before any registers
are accessed. Therefore, move the clock enable before register iomap to
ensure it is enabled.
Signed-off-by: Sebastian Hesselbarth
---
Cc: Russell King
The clock passed to PCI controller found on MVEBU SoCs may come from a
clock gate. This requires the clock to be enabled before any registers
are accessed. Therefore, move the clock enable before register iomap to
ensure it is enabled.
Signed-off-by: Sebastian Hesselbarth
8 matches
Mail list logo