mirror of https://gitee.com/openkylin/linux.git
xtensa: fix xtensa_irq_unmask calls
xtensa_irq_disable/xtensa_irq_enable used to call xtensa_irq_unmask with wrong argument. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
This commit is contained in:
parent
2e6ee5ec88
commit
33c8213d69
|
@ -84,12 +84,12 @@ static void xtensa_irq_unmask(struct irq_data *d)
|
|||
static void xtensa_irq_enable(struct irq_data *d)
|
||||
{
|
||||
variant_irq_enable(d->irq);
|
||||
xtensa_irq_unmask(d->irq);
|
||||
xtensa_irq_unmask(d);
|
||||
}
|
||||
|
||||
static void xtensa_irq_disable(struct irq_data *d)
|
||||
{
|
||||
xtensa_irq_mask(d->irq);
|
||||
xtensa_irq_mask(d);
|
||||
variant_irq_disable(d->irq);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue