sky2: fix missing register reset on error path in sky2_test_msi()
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Fri, 30 Mar 2012 07:36:16 +0000 (07:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Apr 2012 21:06:38 +0000 (17:06 -0400)
In sky2_test_msi() the temporarily set SW IRQ in B0 register is not reset in case
that request_irq() fails.
With this patch we only set the interrupt mask if request_irq() was successful.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found