summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2013-08-02 09:15:47 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2013-08-05 19:22:16 +0300
commit32270b61b3fcdce3495c7b746576d49f70587150 (patch)
tree642f7f8a9c80fa121cfd5a6c27fd60f65a1d8cc2 /include/linux/platform_data
parent591ecdb8f276925251bb5f5fad7eb064979ecee1 (diff)
ath10k: fix device teardown
This fixes interrupt-related issue when no interfaces were running thus the device was considered powered down. The power_down() function isn't really powering down the device. It simply assumed it won't interrupt. This wasn't true in some cases and could lead to paging failures upon FW indication interrupt (i.e. FW crash) because some structures aren't allocated in that device state. One reason for that was that ar_pci->started wasn't reset. The other is interrupts should've been masked when teardown starts. The patch reorganized interrupt setup and makes sure ar_pci->started is reset accordingly. Reported-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions