tlan: Enable device at resume
authorOndrej Zary <linux@rainbow-software.org>
Mon, 30 Jun 2014 16:38:36 +0000 (18:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 00:06:52 +0000 (17:06 -0700)
commite697b16b47d1c6d63859cfd44cecb888c7dde92f
tree6c5bffb6e8dd92755a5367165b4ab3f213c48c6b
parent7a72eddc8e943a96afc86264e095f5b1d037ed4a
tlan: Enable device at resume

pci_disable_device() is called in _suspend but there's no corresponding
pci_enable_device() in _resume.
This causes "disabling already-disabled device" warning on 2nd suspend.

Add pci_enable_device() call to _resume to fix this problem.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/tlan.c