]> git.ipfire.org Git - people/arne_f/kernel.git/commit
ath10k: restore QCA9880-AR1A (v1) detection
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 6 Sep 2019 21:54:23 +0000 (23:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Nov 2019 09:07:53 +0000 (10:07 +0100)
commit582523fbe21aa211743106cb448c22d84f80354d
tree576c641edb3521c2293b22cd25631811fba1061b
parentcf9c404f4af6d5a9cb134e69ac969c1ec747ab95
ath10k: restore QCA9880-AR1A (v1) detection

commit f8914a14623a79b73f72b2b1ee4cd9b2cb91b735 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath10k/pci.c