linux/drivers/net/wireless/ath/ath9k
Gabor Juhos 98c316e348 ath9k: use per-device struct for pm_qos_* operations
The ath9k driver uses a shared pm_qos_request_list structure for all
devices. This causes the following warning if more than one device is
present in the system:

WARNING: at kernel/pm_qos_params.c:234 ath9k_init_device+0x5e8/0x6b0()
pm_qos_add_request() called for already added request
Modules linked in:
Call Trace:
[<802b1cdc>] dump_stack+0x8/0x34
[<8007dd90>] warn_slowpath_common+0x78/0xa4
[<8007de44>] warn_slowpath_fmt+0x2c/0x38
[<801b0828>] ath9k_init_device+0x5e8/0x6b0
[<801bc508>] ath_pci_probe+0x2dc/0x39c
[<80176254>] pci_device_probe+0x64/0xa4
[<8019471c>] driver_probe_device+0xbc/0x188
[<80194854>] __driver_attach+0x6c/0xa4
[<80193e20>] bus_for_each_dev+0x60/0xb0
[<80193580>] bus_add_driver+0xcc/0x268
[<80194c08>] driver_register+0xe0/0x198
[<801764e0>] __pci_register_driver+0x50/0xe0
[<80365f48>] ath9k_init+0x3c/0x6c
[<8006050c>] do_one_initcall+0xfc/0x1d8
[<80355340>] kernel_init+0xd4/0x174
[<800639a4>] kernel_thread_helper+0x10/0x18

---[ end trace 5345fc6f870564a6 ]---

This patch fixes that warning by using a separate pm_qos_request_list
sructure for each device.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-11-29 14:41:28 -05:00
..
Kconfig ath9k: make the driver specific rate control module optional 2010-09-21 11:05:35 -04:00
Makefile ath9k: make the driver specific rate control module optional 2010-09-21 11:05:35 -04:00
ahb.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
ani.c ath9k_hw: fix PHY counter overflow handling in ANI v1 2010-10-15 15:48:44 -04:00
ani.h ath9k_hw: move the cycle counter tracking to ath 2010-10-11 15:04:20 -04:00
ar5008_initvals.h ath9k_hw: reformat the ar5008, ar9001 and ar9002 initvals to match ar9003 2010-07-02 13:44:34 -04:00
ar5008_phy.c ath9k_hw: clean up ANI state handling 2010-10-06 16:30:39 -04:00
ar9001_initvals.h ath9k_hw: sync initvals for ar9001 and ar9002 with Atheros 2010-07-02 13:44:35 -04:00
ar9002_calib.c ath9k_hw: clean up register write buffering 2010-10-06 16:30:38 -04:00
ar9002_hw.c ath9k_hw: Fix AR9280 surprise removal during frequent idle on/off 2010-11-08 16:53:47 -05:00
ar9002_initvals.h ath9k_hw: remove initvals for hardware which was never sold 2010-07-14 13:52:46 -04:00
ar9002_mac.c ath9k_hw: report the TID in the tx status on AR5008-AR9002 2010-07-12 16:05:38 -04:00
ar9002_phy.c ath9k_hw: clean up register write buffering 2010-10-06 16:30:38 -04:00
ar9002_phy.h ath9k_hw: Add functions to get/set antenna diversity configuration 2010-09-07 13:54:33 -04:00
ar9003_2p2_initvals.h ath9k_hw: Fix TX carrier leakage for IEEE compliance on AR9003 2.2 2010-10-25 14:43:14 -04:00
ar9003_calib.c ath9k_hw: clean up calibration flags 2010-10-06 16:26:01 -04:00
ar9003_eeprom.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-09-24 15:52:34 -04:00
ar9003_eeprom.h ath9k_hw: add support for parsing PA predistortion related EEPROM fields 2010-06-14 15:39:32 -04:00
ar9003_hw.c ath9k_hw: remove AR9003 2.0 support 2010-10-15 15:57:39 -04:00
ar9003_mac.c ath9k_hw: handle rx key miss 2010-09-14 16:14:27 -04:00
ar9003_mac.h ath9k_hw: report the TID in the tx status on AR5008-AR9002 2010-07-12 16:05:38 -04:00
ar9003_paprd.c ath9k_hw: Fix divide by zero cases in paprd. 2010-10-25 14:43:14 -04:00
ar9003_phy.c ath9k_hw: move the cycle counter tracking to ath 2010-10-11 15:04:20 -04:00
ar9003_phy.h ath9k_hw: add register definitions related to PA predistortion 2010-06-14 15:39:32 -04:00
ath9k.h ath9k: use per-device struct for pm_qos_* operations 2010-11-29 14:41:28 -05:00
beacon.c ath9k: resume aggregation immediately after a hardware reset 2010-10-25 14:45:56 -04:00
btcoex.c ath9k_htc: Add support for bluetooth coexistence. 2010-08-24 16:32:05 -04:00
btcoex.h ath9k: Fix wifi disconnection when collocated bt scan is active 2010-01-22 16:11:32 -05:00
calib.c ath9k_hw: clean up register write buffering 2010-10-06 16:30:38 -04:00
calib.h ath9k_hw: clean up calibration flags 2010-10-06 16:26:01 -04:00
common.c ath9k: Use common ath key management functions 2010-09-16 15:22:10 -04:00
common.h ath9k: Use common ath key management functions 2010-09-16 15:22:10 -04:00
debug.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
debug.h ath9k: make rate control debugfs stats per station 2010-10-15 15:48:44 -04:00
eeprom.c ath9k_hw: Cleanup TX power calculation for AR9287 2010-06-03 14:10:46 -04:00
eeprom.h ath9k_hw: simplify revision checks for AR9287 2010-09-27 15:57:42 -04:00
eeprom_4k.c ath9k_hw: clean up register write buffering 2010-10-06 16:30:38 -04:00
eeprom_9287.c ath9k_hw: Set proper eeprom offset for AR9287 HTC devices 2010-11-16 15:59:39 -05:00
eeprom_def.c ath9k_hw: simplify revision checks for AR9280 2010-09-27 15:57:39 -04:00
gpio.c ath9k_common: Move bt_stomp to common for sharing with ath9k_htc. 2010-08-24 16:32:05 -04:00
hif_usb.c ath9k_htc: Add new devices into AR7010 2010-11-16 15:59:39 -05:00
hif_usb.h ath9k_htc: Add support for AR7010 2010-06-04 16:00:39 -04:00
htc.h ath9k_htc: Add support for bluetooth coexistence. 2010-08-24 16:32:05 -04:00
htc_drv_beacon.c ath9k_htc: Fix beacon distribution in IBSS mode 2010-09-24 15:54:32 -04:00
htc_drv_gpio.c ath9k_htc: Add support for bluetooth coexistence. 2010-08-24 16:32:05 -04:00
htc_drv_init.c ath9k_htc: Add new devices into AR7010 2010-11-16 15:59:39 -05:00
htc_drv_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
htc_drv_txrx.c ath9k_htc: Avoid setting QoS control for non-QoS frames 2010-11-18 13:17:47 -05:00
htc_hst.c ath9k_htc: Add support for bluetooth coexistence. 2010-08-24 16:32:05 -04:00
htc_hst.h ath9k_htc: Add support for bluetooth coexistence. 2010-08-24 16:32:05 -04:00
hw-ops.h ath9k_hw: merge ath9k_hw_ani_monitor_old and ath9k_hw_ani_monitor_new 2010-10-06 16:30:39 -04:00
hw.c ath9k_hw: Fix memory leak on ath9k_hw_rf_alloc_ext_banks failure 2010-11-08 16:53:48 -05:00
hw.h ath9k: Avoid HW opmode overridden on monitor mode changes 2010-11-08 16:53:46 -05:00
init.c ath9k: use per-device struct for pm_qos_* operations 2010-11-29 14:41:28 -05:00
mac.c ath9k_hw: Fix hw reset failure with HTC driver 2010-10-07 14:41:28 -04:00
mac.h ath9k: Use common ath key management functions 2010-09-16 15:22:10 -04:00
main.c ath9k: use per-device struct for pm_qos_* operations 2010-11-29 14:41:28 -05:00
pci.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
phy.h ath9k: Use common ath key management functions 2010-09-16 15:22:10 -04:00
rc.c ath9k: Fix incorrect access of rate flags in RC 2010-10-29 14:33:25 -04:00
rc.h ath9k: make rate control debugfs stats per station 2010-10-15 15:48:44 -04:00
recv.c ath9k: fix timeout on stopping rx dma 2010-11-22 15:19:31 -05:00
reg.h ath9k_hw: Set proper eeprom offset for AR9287 HTC devices 2010-11-16 15:59:39 -05:00
virtual.c ath9k: fix BSSID mask calculation 2010-09-14 16:14:26 -04:00
wmi.c ath9k_htc: Fix memory leak on WMI event handler 2010-09-14 16:14:26 -04:00
wmi.h ath9k_htc: Fix memory leak on WMI event handler 2010-09-14 16:14:26 -04:00
xmit.c ath9k: fix tx aggregation flush on AR9003 2010-10-27 15:46:50 -04:00