PCI: MVEBU: Remove duplicate clock get
PATCH 1/1 PCI: MVEBU: Remove duplicate clock get
Probably due to a merge conflict resolution gone bad, the pci clock is got twice. Remove the second redundent of_clk_get_by_name().
--- drivers/pci/host/pci-mvebu.c | 8 -------- 1 file changed, 8 deletions(-)
drivers/pci/host/pci-mvebu.c +0 -8
@@ -949,14 +949,6 @@ static int mvebu_pcie_probe(struct platform_device *pdev)mvebu_pcie_set_local_dev_nr (port,1 ); - 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" , - port->port, port->lane); -iounmap (port->base); -continue ; - } - port->dn = child;spin_lock_init (&port->conf_lock);mvebu_sw_pci_bridge_init (port);
Signature · 1 line
1.8.5
Quoted 7 lines · Andrew Lunn
Probably due to a merge conflict resolution gone bad, the pci clock is got twice. Remove the second redundent
of_clk_get_by_name().Signed-off-by Andrew Lunn <[email protected]>--- drivers/pci/host/pci-mvebu.c | 8 -------- 1 file changed, 8 deletions(-)
thx,
Jason.
Jingoo Han
Reviewed-byQuoted 10 lines · Jason Cooper
Quoted 7 lines · Andrew Lunn
Probably due to a merge conflict resolution gone bad, the pci clock is got twice. Remove the second redundent
of_clk_get_by_name().Signed-off-by Andrew Lunn <[email protected]>--- drivers/pci/host/pci-mvebu.c | 8 -------- 1 file changed, 8 deletions(-)Acked-by Jason Cooper <[email protected]>
(+cc Jason Gunthorpe)
Yes, right. :-)
Original patch did not include the redundent of_clk_get_by_name().
Best regards,
Jingoo Han
Quoted 4 lines · Andrew Lunn
Probably due to a merge conflict resolution gone bad, the pci clock is got twice. Remove the second redundent
of_clk_get_by_name().Signed-off-by Andrew Lunn <[email protected]>
Applied to my pci/host-mvebu branch for v3.14, thanks!
Bjorn
Quoted 26 lines
--- drivers/pci/host/pci-mvebu.c | 8 -------- 1 file changed, 8 deletions(-)drivers/pci/host/pci-mvebu.c +0
-8@@ -949,14 +949,6 @@ static int mvebu_pcie_probe(struct platform_device *pdev)mvebu_pcie_set_local_dev_nr (port,1 ); - 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" , - port->port, port->lane); -iounmap (port->base); -continue ; - } - port->dn = child;spin_lock_init (&port->conf_lock);mvebu_sw_pci_bridge_init (port);Signature · 1 line
1.8.5
Quoted 7 lines · Andrew Lunn
Probably due to a merge conflict resolution gone bad, the pci clock is got twice. Remove the second redundent
of_clk_get_by_name().Signed-off-by Andrew Lunn <[email protected]>--- drivers/pci/host/pci-mvebu.c | 8 -------- 1 file changed, 8 deletions(-)
Hi Folks
This patch has been Acked by Jingoo Han.
So my question is, which maintainer is going to accept it for mainline? Is there anything i need to do?
Thanks
Andrew
Quoted 23 lines
drivers/pci/host/pci-mvebu.c +0
-8@@ -949,14 +949,6 @@ static int mvebu_pcie_probe(struct platform_device *pdev)mvebu_pcie_set_local_dev_nr (port,1 ); - 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" , - port->port, port->lane); -iounmap (port->base); -continue ; - } - port->dn = child;spin_lock_init (&port->conf_lock);mvebu_sw_pci_bridge_init (port);Signature · 1 line
1.8.5
Jason Cooper
Acked-byAndrew,
Quoted 9 lines · Andrew Lunn
Quoted 7 lines · Andrew Lunn
Probably due to a merge conflict resolution gone bad, the pci clock is got twice. Remove the second redundent
of_clk_get_by_name().Signed-off-by Andrew Lunn <[email protected]>--- drivers/pci/host/pci-mvebu.c | 8 -------- 1 file changed, 8 deletions(-)
Quoted 6 lines
Hi Folks
This patch has been Acked by Jingoo Han.
So my question is, which maintainer is going to accept it for mainline? Is there anything i need to do?
I'll create a branch for Bjorn to pull. Or, if Bjorn wants to take it directly,
thx,
Jason.
Bjorn Helgaas
maintainerQuoted 18 lines · Jason Cooper
Andrew,
Quoted 15 lines · Andrew Lunn
Quoted 7 lines · Andrew Lunn
Probably due to a merge conflict resolution gone bad, the pci clock is got twice. Remove the second redundent
of_clk_get_by_name().Signed-off-by Andrew Lunn <[email protected]>--- drivers/pci/host/pci-mvebu.c | 8 -------- 1 file changed, 8 deletions(-)Hi Folks
This patch has been Acked by Jingoo Han.
So my question is, which maintainer is going to accept it for mainline? Is there anything i need to do?
I already applied it: http://lkml.kernel.org/r/[email protected]
You don't need to do anything more.
Quoted 8 lines
I'll create a branch for Bjorn to pull. Or, if Bjorn wants to take it directly,
Acked-by Jason Cooper <[email protected]>thx,
Jason.
Quoted 4 lines · Andrew Lunn
Quoted 3 lines · Andrew Lunn
Probably due to a merge conflict resolution gone bad, the pci clock is got twice. Remove the second redundent
of_clk_get_by_name().
Quoted 8 lines
Quoted 4 lines
Signed-off-by Andrew Lunn <[email protected]>--- drivers/pci/host/pci-mvebu.c | 8 -------- 1 file changed, 8 deletions(-)Hi Folks
This patch has been Acked by Jingoo Han.
I just 'Reviewed', not 'Acked'. :-)
Quoted 3 lines
So my question is, which maintainer is going to accept it for mainline? Is there anything i need to do?
As Bjorn said, this patch was already applied to 'pci/host-mvebu' branch for v3.14.
Also, MVEBU PCIe will be maintained by Thomas Petazzoni, and Jason Cooper as below.
PCI DRIVER FOR MVEBU (Marvell Armada 370 and Armada XP SOC support)
M: Thomas Petazzoni <[email protected]> M: Jason Cooper <[email protected]> L: [email protected] L: [email protected] (moderated for non-subscribers) S: Maintained F: drivers/pci/host/*mvebu*
Thank you.
Best regards,
Jingoo Han