]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: make sure to really disable irqs
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 22 Aug 2014 12:23:33 +0000 (14:23 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 25 Aug 2014 08:28:56 +0000 (11:28 +0300)
commit3405b08f734bf5610b5c2ef53bf820b4416b46f8
tree5efdd7d536de18235039627f75f009aff06c2738
parentee1f4d9fe88fed9172336e7231f8bad79c3e17c7
ath10k: make sure to really disable irqs

This fixes two corner cases.

One is a race between disabling copy engine
interrupts and unhandled pending interrupts on the
host. This could end up with a runaway tasklet and
consequently memory leak of a few copy engine
rx buffers.

The other one is an unexpected (and non-maskable
via device CSR) MSI fw indication interrupt during
teardown. This could trigger the same problem as
the first corner case.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c