Repository navigation
Commit ede7193
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>1 parent eb6a248 commit ede7193
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4804 | 4804 | | |
4805 | 4805 | | |
4806 | 4806 | | |
4807 | | - | |
4808 | | - | |
4809 | 4807 | | |
4810 | 4808 | | |
4811 | 4809 | | |
4812 | 4810 | | |
4813 | 4811 | | |
4814 | 4812 | | |
| 4813 | + | |
| 4814 | + | |
4815 | 4815 | | |
4816 | 4816 | | |
4817 | 4817 | | |
| |||
0 commit comments