Skip to content

Commit c290b2f

Browse files
committed
Merge branch 'dt-for-linus' of git://sources.calxeda.com/kernel/linux
* 'dt-for-linus' of git://sources.calxeda.com/kernel/linux: of: Add Silicon Image vendor prefix of/irq: of_irq_init: add check for parent equal to child node
2 parents d6e92d3 + e43fce1 commit c290b2f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Documentation/devicetree/bindings/vendor-prefixes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ qcom Qualcomm, Inc.
3333
ramtron Ramtron International
3434
samsung Samsung Semiconductor
3535
schindler Schindler
36+
sil Silicon Image
3637
simtek
3738
sirf SiRF Technology, Inc.
3839
stericsson ST-Ericsson

drivers/of/irq.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,8 @@ void __init of_irq_init(const struct of_device_id *matches)
424424

425425
desc->dev = np;
426426
desc->interrupt_parent = of_irq_find_parent(np);
427+
if (desc->interrupt_parent == np)
428+
desc->interrupt_parent = NULL;
427429
list_add_tail(&desc->list, &intc_desc_list);
428430
}
429431

0 commit comments

Comments
 (0)