Re: [PATCH] 8139cp: set intr mask after its handler is registered

From: Flavio Leitner
Date: Thu Apr 12 2012 - 09:45:31 EST


On Thu, 12 Apr 2012 16:10:54 +0800
Jason Wang <jasowang@xxxxxxxxxx> wrote:

> We set intr mask before its handler is registered, this does not work well when
> 8139cp is sharing irq line with other devices. As the irq could be enabled by
> the device before 8139cp's hander is registered which may lead unhandled
> irq. Fix this by introducing an helper cp_irq_enable() and call it after
> request_irq().
>
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>

Reviewed-by: Flavio Leitner <fbl@xxxxxxxxxx>

fbl
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/