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

From: David Miller
Date: Fri Apr 13 2012 - 13:42:44 EST


From: Flavio Leitner <fbl@xxxxxxxxxx>
Date: Thu, 12 Apr 2012 10:45:29 -0300

> 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>

Applied, and queued up for -stable, thanks.
--
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/