diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 4895fde4eb93..3de6ea3ee740 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c | |||
@@ -127,7 +127,7 @@ int set_irq_type(unsigned int irq, unsigned int type) | |||
127 | return 0; | 127 | return 0; |
128 | 128 | ||
129 | spin_lock_irqsave(&desc->lock, flags); | 129 | spin_lock_irqsave(&desc->lock, flags); |
130 | ret = __irq_set_trigger(desc, irq, flags); | 130 | ret = __irq_set_trigger(desc, irq, type); |
131 | spin_unlock_irqrestore(&desc->lock, flags); | 131 | spin_unlock_irqrestore(&desc->lock, flags); |
132 | return ret; | 132 | return ret; |
133 | } | 133 | } |