X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fchar%2Fhvc_irq.c;h=2623e177e8d61d501fe1c39dd57d3768bfcad481;hb=4b8d8ab566932bfe023637025c76c0e90c655faf;hp=d09e5688d4497242d4bcc6dcad23abc1a4f96202;hpb=dfdc5437bd62dd6a26961e27f26b671374749875;p=linux-2.6-omap-h63xx.git diff --git a/drivers/char/hvc_irq.c b/drivers/char/hvc_irq.c index d09e5688d44..2623e177e8d 100644 --- a/drivers/char/hvc_irq.c +++ b/drivers/char/hvc_irq.c @@ -37,7 +37,7 @@ int notifier_add_irq(struct hvc_struct *hp, int irq) void notifier_del_irq(struct hvc_struct *hp, int irq) { - if (!irq) + if (!hp->irq_requested) return; free_irq(irq, hp); hp->irq_requested = 0;