aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2022-01-05 18:03:22 +0000
committerNishanth Menon <[email protected]>2022-02-02 13:11:40 -0600
commit001d7c83704bc98c28cc6444d2e7518d12ed029f (patch)
tree437bf6700ff249407a3111c81736698120dba6f1 /net/lapb/lapb_subr.c
parenta8eba8dde5fbf0b9f62a38230af6d66c389c37fc (diff)
soc: ti: smartreflex: Use platform_get_irq_optional() 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_optional(). While at it return 0 instead of returning ret in the probe success path. Signed-off-by: Lad Prabhakar <[email protected]> Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions