]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ath10k: assign proper firmware crash dump structure
authorAnilkumar Kolli <akolli@codeaurora.org>
Fri, 12 Oct 2018 06:06:37 +0000 (11:36 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 5 Nov 2018 10:10:55 +0000 (12:10 +0200)
commit5f09037a0cc2b70d2afdb216d236b52e2bee0a2b
tree8b2d2a37b68a4d8a11ce3f0ca86ff667a09f0e30
parentbbcfb343fa7f40a42d11bdac753dd62fdbf0840b
ath10k: assign proper firmware crash dump structure

ar->target_version is same for QCA99x0, QCA4019, QCA9888
and QCA9984, this ended up in assigning the wrong hw_mem_layouts.
This patch adds additional hw_rev check to assign correct
hw_mem_layouts.

Tested on:
QCA4019 firmware 10.4-3.2.1.1-00017
QCA9984 firmware 10.4-3.5.3-00057

Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/coredump.c
drivers/net/wireless/ath/ath10k/coredump.h