diff options
| author | Linus Torvalds <[email protected]> | 2011-11-22 23:09:20 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-11-22 23:09:20 +0000 |
| commit | b4bbb02934e4511d9083f15c23e90703482e84ad (patch) | |
| tree | ebbff074e9bab458331d1c472e2f5ee854ff8d6e /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff) | |
| download | kernel-b4bbb02934e4511d9083f15c23e90703482e84ad.tar.gz kernel-b4bbb02934e4511d9083f15c23e90703482e84ad.zip | |
Revert "of/irq: of_irq_find_parent: check for parent equal to child"
This reverts commit dc9372808412edbc653a675a526c2ee6c0c14a91.
As requested by Ben Herrenschmidt:
"This breaks some powerpc platforms at least. The practice of having
a node provide an explicit "interrupt-parent" property pointing to
itself is an old trick that we've used in the past to allow a
device-node to have interrupts routed to different controllers.
In that case, the node also contains an interrupt-map, so the node is
its own parent, the interrupt resolution hits the map, which then can
route each individual interrupt to a different parent."
Grant says:
"Ah, nuts, yes that is broken then. Yes, please revert the commit and
Rob & I will come up with a better solution.
Rob, I think it can be done by explicitly checking for np ==
desc->interrupt_parent in of_irq_init() instead of relying on
of_irq_find_parent() returning NULL."
Requested-by: Benjamin Herrenschmidt <[email protected]>
Acked-by: Grant Likely <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: linuxppc-dev <[email protected]>
Cc: Tanmay Inamdar <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
