linux_dsm_epyc7002/drivers/net/wireless/ath/ath9k
Sujith Manoharan caa0a99acd ath9k_htc: Fix panic on FW download failure
Use the correct error condition exit in case firmware download
fails for some reason. Not doing so results in a panic:

usb 1-3: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
usb 1-3: ath9k_htc: Firmware - ar9271.fw download failed
usb 1-3: ath9k_htc: Target is unresponsive
Failed to initialize the device
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
Pid: 2823, comm: insmod Tainted: G        W   2.6.37-rc4-wl #11
Call Trace:
[<ffffffff81090d7e>] __lock_acquire+0xe3e/0x1d00
[<ffffffff813a9f14>] ? restore_args+0x0/0x30
[<ffffffff81058af1>] ? vprintk+0x321/0x500
[<ffffffff81092290>] lock_acquire+0xa0/0x190
[<ffffffffa02a0eac>] ? usb_kill_anchored_urbs+0x1c/0x80 [usbcore]
[<ffffffff813a8ea8>] _raw_spin_lock_irq+0x48/0x60
[<ffffffffa02a0eac>] ? usb_kill_anchored_urbs+0x1c/0x80 [usbcore]
[<ffffffff813a53fd>] ? printk+0x3c/0x3f
[<ffffffffa02a0eac>] usb_kill_anchored_urbs+0x1c/0x80 [usbcore]
[<ffffffffa0055388>] ath9k_hif_usb_dealloc_urbs+0x18/0x40 [ath9k_htc]
[<ffffffffa00557d7>] ath9k_hif_usb_probe+0x227/0x3d0 [ath9k_htc]
[<ffffffffa02a56ac>] usb_probe_interface+0x10c/0x210 [usbcore]
[<ffffffff812ae826>] driver_probe_device+0x96/0x1c0
[<ffffffff812ae9f3>] __driver_attach+0xa3/0xb0
[<ffffffff812ae950>] ? __driver_attach+0x0/0xb0
[<ffffffff812ad6ae>] bus_for_each_dev+0x5e/0x90
[<ffffffff812ae4c9>] driver_attach+0x19/0x20
[<ffffffff812ae038>] bus_add_driver+0x168/0x320
[<ffffffff812aec71>] driver_register+0x71/0x140
[<ffffffff811fc338>] ? __raw_spin_lock_init+0x38/0x70
[<ffffffffa02a438c>] usb_register_driver+0xdc/0x190 [usbcore]
[<ffffffffa0063000>] ? ath9k_htc_init+0x0/0x4f [ath9k_htc]
[<ffffffffa005599e>] ath9k_hif_usb_init+0x1e/0x20 [ath9k_htc]
[<ffffffffa006302b>] ath9k_htc_init+0x2b/0x4f [ath9k_htc]
[<ffffffff8100212f>] do_one_initcall+0x3f/0x180
[<ffffffff8109ef9b>] sys_init_module+0xbb/0x200
[<ffffffff8100bf52>] system_call_fastpath+0x16/0x1b

Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-12-07 17:08:07 -05:00
..
ahb.c ath: Convert ath_print(.., ATH_DBG_FATAL to ath_err 2010-12-07 16:34:47 -05:00
ani.c ath9k_hw: Disable MRC CCK for AR9485 2010-12-07 16:54:23 -05:00
ani.h ath9k_hw: move the cycle counter tracking to ath 2010-10-11 15:04:20 -04:00
ar5008_initvals.h
ar5008_phy.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
ar9001_initvals.h
ar9002_calib.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
ar9002_hw.c ath: Convert ath_print(.., ATH_DBG_FATAL to ath_err 2010-12-07 16:34:47 -05:00
ar9002_initvals.h
ar9002_mac.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
ar9002_phy.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
ar9002_phy.h
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: Add IQ cal changes for AR9485 2010-12-07 16:54:14 -05:00
ar9003_eeprom.c ath9k_hw: Configure power control only for the supported chains 2010-12-07 16:34:59 -05:00
ar9003_eeprom.h ath9k_hw: Add a helper function to get spur channel pointer from cal data for AR9003 family 2010-12-07 16:34:55 -05:00
ar9003_hw.c ath9k_hw: Initialize tx/rx gain table from initvals.h for AR9485 2010-12-07 16:34:51 -05:00
ar9003_mac.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
ar9003_mac.h ath9k_hw: optimize all descriptor access functions 2010-11-09 16:13:25 -05:00
ar9003_paprd.c ath9k_hw: Setup paprd only for supported chains 2010-12-07 16:54:23 -05:00
ar9003_phy.c ath9k: Read spur channel information from eeprom for AR9485 2010-12-07 16:34:56 -05:00
ar9003_phy.h ath9k_hw: Setup paprd only for supported chains 2010-12-07 16:54:23 -05:00
ar9485_initvals.h ath9k_hw: Add initvals.h for AR9485 2010-12-07 16:34:50 -05:00
ath9k.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-12-02 15:46:37 -05:00
beacon.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
btcoex.c ath9k: Remove code which enables btcoex based on subsys id 2010-11-29 15:24:36 -05:00
btcoex.h ath9k: Remove code which enables btcoex based on subsys id 2010-11-29 15:24:36 -05:00
calib.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
calib.h
common.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
common.h ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
debug.c ath9k: Move debugfs under ieee80211/[phyname]/ath9k/ 2010-12-02 15:16:41 -05:00
debug.h ath9k: Move debugfs under ieee80211/[phyname]/ath9k/ 2010-12-02 15:16:41 -05:00
eeprom_4k.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
eeprom_9287.c ath9k_htc: Cleanup device identification 2010-12-07 17:08:06 -05:00
eeprom_def.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
eeprom.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
eeprom.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-12-02 15:46:37 -05:00
gpio.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
hif_usb.c ath9k_htc: Fix panic on FW download failure 2010-12-07 17:08:07 -05:00
hif_usb.h ath9k_htc: Cleanup device identification 2010-12-07 17:08:06 -05:00
htc_drv_beacon.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
htc_drv_gpio.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
htc_drv_init.c ath9k_htc: Cleanup device identification 2010-12-07 17:08:06 -05:00
htc_drv_main.c ath9k_htc: Add support for handling TX power configuration 2010-12-07 17:08:07 -05:00
htc_drv_txrx.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
htc_hst.c ath9k_htc: Identify devices using driver_info 2010-11-24 16:19:41 -05:00
htc_hst.h ath9k_htc: Remove unused structures 2010-12-02 15:16:48 -05:00
htc.h ath9k_htc: Identify devices using driver_info 2010-11-24 16:19:41 -05:00
hw-ops.h
hw.c ath9k: Configure pll control for AR9485 2010-12-07 16:34:54 -05:00
hw.h ath9k_htc: Cleanup device identification 2010-12-07 17:08:06 -05:00
init.c ath9k: Disable TX STBC for AR9485 2010-12-07 16:34:53 -05:00
Kconfig
mac.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
mac.h ath9k_hw: remove ath9k_hw_stoppcurecv 2010-11-24 16:19:41 -05:00
main.c ath9k: Enable extended synch for AR9485 to fix L0s recovery issue 2010-12-07 16:34:53 -05:00
Makefile
pci.c ath9k: Add device id of AR9485 to pci table 2010-12-07 16:54:24 -05:00
phy.h ath9k_hw: Find chansel of AR_PHY_65NM_CH0_SYNTH7 for AR9485 2010-12-07 16:34:55 -05:00
rc.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
rc.h ath9k: remove the tx info padding byte abuse 2010-11-16 16:37:07 -05:00
recv.c ath9k: Make DMA warning in ath_stoprecv WARN_ON_ONCE. 2010-12-07 16:54:24 -05:00
reg.h ath9k_htc: Cleanup device identification 2010-12-07 17:08:06 -05:00
virtual.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
wmi.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00
wmi.h
xmit.c ath: Convert ath_print to ath_dbg 2010-12-07 16:34:48 -05:00