]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4926d5085fb49b146d723b06ef115ed2e88cfef4
tree6c5bffb6e8dd92755a5367165b4ab3f213c48c6b
parentc18d71dfa9b1ea98e44b0f26f2c20f336ddc55d5
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