diff options
author | Jakub Kicinski <[email protected]> | 2015-03-11 18:35:36 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2015-03-12 10:23:05 +0100 |
commit | a49445727014216703a3c28ccee4cef36d41571e (patch) | |
tree | aeed53bea51b29a3b501dd43badfe87242d22e58 /lib/mpi/mpiutil.c | |
parent | 9eccca0843205f87c00404b663188b88eb248051 (diff) |
Revert "i2c: core: Dispose OF IRQ mapping at client removal time"
This reverts commit e4df3a0b6228
("i2c: core: Dispose OF IRQ mapping at client removal time")
Calling irq_dispose_mapping() will destroy the mapping and disassociate
the IRQ from the IRQ chip to which it belongs. Keeping it is OK, because
existent mappings are reused properly.
Also, this commit breaks drivers using devm* for IRQ management on
OF-based systems because devm* cleanup happens in device code, after
bus's remove() method returns.
Signed-off-by: Jakub Kicinski <[email protected]>
Reported-by: Sébastien Szymanski <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Acked-by: Dmitry Torokhov <[email protected]>
[wsa: updated the commit message with findings fromt the other bug report]
Signed-off-by: Wolfram Sang <[email protected]>
Cc: [email protected]
Fixes: e4df3a0b6228
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions