commit | ede7193d4fdca98178240500d8684dbc139ca26f | [log] [tgz] |
---|---|---|
author | Lino Sanfilippo <LinoSanfilippo@gmx.de> | Fri Mar 30 07:36:16 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 03 17:06:38 2012 -0400 |
tree | 7e8e7123e40bfaa10a6eb0d43513675ccac10ef4 | |
parent | eb6a24816b247c0be6b2e97e68933072874bbe54 [diff] |
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>