Re: [PATCH] PCI: Fix logic OF logic in pci_dma_configure()

2015-11-19 Thread Arnd Bergmann
On Wednesday 18 November 2015 16:49:52 Suravee Suthikulpanit wrote: > - if (IS_ENABLED(CONFIG_OF) && dev->dev.of_node) { > - if (bridge->parent) > + if (IS_ENABLED(CONFIG_OF) && > + bridge->parent && bridge->parent->of_node) { > of_dma

Re: [PATCH] PCI: Fix logic OF logic in pci_dma_configure()

2015-11-18 Thread Rafael J. Wysocki
On Wednesday, November 18, 2015 06:54:16 PM Suravee Suthikulanit wrote: > Arg... sorry for the typo in the subject. It should say: > > [PATCH] PCI: Fix OF logic in pci_dma_configure() OK, applied. Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: [PATCH] PCI: Fix logic OF logic in pci_dma_configure()

2015-11-18 Thread Suravee Suthikulanit
Arg... sorry for the typo in the subject. It should say: [PATCH] PCI: Fix OF logic in pci_dma_configure() Suravee On 11/18/2015 6:49 PM, Suravee Suthikulpanit wrote: This patch fixes a bug introduced by previous commit, which incorrectly checkes the of_node of the end-point device. Instead, it

[PATCH] PCI: Fix logic OF logic in pci_dma_configure()

2015-11-18 Thread Suravee Suthikulpanit
This patch fixes a bug introduced by previous commit, which incorrectly checkes the of_node of the end-point device. Instead, it should check the of_node of the host bridge. Fixes: 50230713b639 ("PCI: OF: Move of_pci_dma_configure() to pci_dma_configure()") Reported-by: Robin Murphy Cc: Rafael J