Files
linux-apfs/drivers
Lino Sanfilippo 1c85382e30 sky2: fix cleanup sequence in probe() function
The cleanup sequence in sky2_probe() that is called in case of an error is
mixed up in different places:

- pci_disable_device() is not called in each case the device has been enabled
before

- same for pci_disable_msi(): test_msi() may return with an error != EOPNOTSUPP
(due to failure of request_irq()). In that case msi is not disabled

- also failure of register_netdev() does not disable msi

This patch fixes the concerning parts.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-03 13:52:31 -05:00
..
2012-11-23 14:32:55 +01:00
2012-10-30 10:05:51 +01:00
2012-11-30 12:10:57 -05:00
2012-11-26 17:41:24 -08:00
2012-10-17 15:53:03 -05:00
2012-11-16 14:33:04 -08:00
2012-11-19 14:19:00 -05:00
2012-10-29 15:30:37 -04:00
2012-10-16 18:07:12 -07:00