Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101168
b: refs/heads/master
c: 48627d8
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Jul 10, 2008
1 parent a8e31a7 commit cf56dd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 18404756765c713a0be4eb1082920c04822ce588
refs/heads/master: 48627d8d23c34106c1365563604739a50343edaf
5 changes: 2 additions & 3 deletions trunk/kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)

/* Setup the type (level, edge polarity) if configured: */
if (new->flags & IRQF_TRIGGER_MASK) {
if (desc->chip && desc->chip->set_type)
if (desc->chip->set_type)
desc->chip->set_type(irq,
new->flags & IRQF_TRIGGER_MASK);
else
Expand All @@ -387,8 +387,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
*/
printk(KERN_WARNING "No IRQF_TRIGGER set_type "
"function for IRQ %d (%s)\n", irq,
desc->chip ? desc->chip->name :
"unknown");
desc->chip->name);
} else
compat_irq_chip_set_default_handler(desc);

Expand Down

0 comments on commit cf56dd9

Please sign in to comment.