]> git.karo-electronics.de Git - linux-beck.git/commit
wil6210: reorder init sequence
authorVladimir Kondratiev <QCA_vkondrat@QCA.qualcomm.com>
Tue, 9 Jun 2015 11:11:19 +0000 (14:11 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 9 Jun 2015 11:39:17 +0000 (14:39 +0300)
commit3e2d8e1b82af3e67c8d369f3c006b8f882399742
treef0a9f15699ec122806fe1479beb1fc744465af75
parentb39d69377e4b331f42de1b7a103bf7b2205e70ae
wil6210: reorder init sequence

Need to reorder init sequence to run wil_platform_init
before pci_enable_device. Assumption is platform init
may be required before device may be enabled.
Another issue, platform uninit should be called after
pci_disable_device because platform uninit may render
pci device non-accessible.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/netdev.c
drivers/net/wireless/ath/wil6210/pcie_bus.c
drivers/net/wireless/ath/wil6210/wil6210.h
drivers/net/wireless/ath/wil6210/wil_platform.c