bcma: add method to power up and down the PCIe core by wifi driver
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 23 Aug 2013 22:32:30 +0000 (00:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Aug 2013 18:09:02 +0000 (14:09 -0400)
commitcfe51ec1ae427ec0be5a7670eae815ce5eb30e1c
tree331c8cc84052329197af32cf71ad90e2dd82086e
parentf4a83e578e0011ddcfdbe1c62d0916dadb4802aa
bcma: add method to power up and down the PCIe core by wifi driver

The wifi driver should tell the PCIe core that it is now in operation
so that some workarounds can be applied and the power state is changed.
This should replace the call to bcma_core_pci_extend_L1timer by the
brcmsmac driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_pci.c
include/linux/bcma/bcma_driver_pci.h