Skip to content

Commit

Permalink
Merge pull request torvalds#352 from M1cha/reset-irq
Browse files Browse the repository at this point in the history
reset irq handler on lkl_get_free_irq
  • Loading branch information
tavip committed Jul 10, 2017
2 parents 0d91d10 + 73637e7 commit 410bc30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/lkl/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ int lkl_get_free_irq(const char *user)
for (i = 1; i < NR_IRQS; i++) {
if (!irqs[i].user) {
irqs[i].user = user;
irq_set_chip_and_handler(i, &dummy_irq_chip, handle_simple_irq);
ret = i;
break;
}
Expand Down

0 comments on commit 410bc30

Please sign in to comment.