]> git.itanic.dy.fi Git - linux-stable/commit
ath10k: restore QCA9880-AR1A (v1) detection
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 6 Sep 2019 21:54:23 +0000 (23:54 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 2 Oct 2019 17:18:52 +0000 (20:18 +0300)
commitf8914a14623a79b73f72b2b1ee4cd9b2cb91b735
tree476fee4567e154b9ccd55b535d3932315dbb24a3
parentcc6df017e55764ffef9819dd9554053182535ffd
ath10k: restore QCA9880-AR1A (v1) detection

This patch restores the old behavior that read
the chip_id on the QCA988x before resetting the
chip. This needs to be done in this order since
the unsupported QCA988x AR1A chips fall off the
bus when resetted. Otherwise the next MMIO Op
after the reset causes a BUS ERROR and panic.

Cc: stable@vger.kernel.org
Fixes: 1a7fecb766c8 ("ath10k: reset chip before reading chip_id in probe")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/pci.c