diff options
author | Grygorii Strashko <[email protected]> | 2013-12-18 12:07:51 +0200 |
---|---|---|
committer | Sekhar Nori <[email protected]> | 2013-12-26 00:02:12 +0530 |
commit | 6075a8b2b6c32ddcb99b85189ae41ab2903e560f (patch) | |
tree | 76b301c58257041ed0b7444965a6c5a26c5792fc /tools/perf/util/trace-event-scripting.c | |
parent | 0d978eb7349941139241a99acf05de6dd49b78d1 (diff) |
gpio: davinci: don't create irq_domain in case of unbanked irqs
The system may crash if:
- there are more than 1 banks
- unbanked irqs are enabled
- someone will call gpio_to_irq() for GPIO from bank2 or above
Hence, fix it by not creating irq_domain if unbanked irqs are enabled
and correct gpio_to_irq_banked() to handle this properly.
Cc: Linus Walleij <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: Sekhar Nori <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Acked-by: Lad, Prabhakar <[email protected]>
Signed-off-by: Grygorii Strashko <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions