Home
last modified time | relevance | path

Searched hist:ede7193d4fdca98178240500d8684dbc139ca26f (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/marvell/
H A Dsky2.cdiff ede7193d4fdca98178240500d8684dbc139ca26f Fri Mar 30 02:36:16 CDT 2012 Lino Sanfilippo <LinoSanfilippo@gmx.de> sky2: fix missing register reset on error path in sky2_test_msi()

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>