]> git.baikalelectronics.ru Git - kernel.git/commit
usb: chipidea: Set the DT node on the child device
authorRob Herring <robh@kernel.org>
Wed, 15 Dec 2021 22:56:46 +0000 (16:56 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 15:52:27 +0000 (16:52 +0100)
commit0adcee8f77f4d11d3ab348b3b022a47dfd20ee79
tree6c943872fbe0c05d63895e1913defd55c410b0cf
parentae06fc6228f903191ff079eac0f4ba64f6bd36d8
usb: chipidea: Set the DT node on the child device

The ChipIdea glue drivers just copy the glue resources to the "ci_hdrc"
child device. Instead, set the child device's DT node pointer to the
parent device's node so that platform_get_irq() can find the IRQ
resources in the DT. This removes the need for statically populating the
IRQ resources from the DT which has been deprecated for some time.

Acked-by: Peter Chen <peter.chen@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215225646.1997946-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c