aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2021-12-20 01:04:09 +0000
committerGreg Kroah-Hartman <[email protected]>2021-12-21 07:51:57 +0000
commitd057ac484a370f90d0353b30ad0fab2b4f1adf27 (patch)
tree541dc4c2654896c4f530082c4b434a573e9be920 /drivers/usb/cdns3
parentusb: dwc3: Drop unneeded calls to platform_get_resource_byname() (diff)
downloadkernel-d057ac484a370f90d0353b30ad0fab2b4f1adf27.tar.gz
kernel-d057ac484a370f90d0353b30ad0fab2b4f1adf27.zip
usb: isp1760: Use platform_get_irq() to get the interrupt
platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static allocation of IRQ resources in DT core code, this causes an issue when using hierarchical interrupt domains using "interrupts" property in the node as this bypasses the hierarchical setup and messes up the irq chaining. In preparation for removal of static setup of IRQ resource from DT core code use platform_get_irq(). Also use irq_get_trigger_type to get the IRQ trigger flags. Reviewed-by: Rui Miguel Silva <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Lad Prabhakar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions