summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/core.c
diff options
context:
space:
mode:
authorErik Stromdahl2018-09-04 14:03:44 +0200
committerKalle Valo2018-09-06 18:13:58 +0200
commit7c2dd6154fc22e2aec1fcb384beb0a6372f2b439 (patch)
tree9a27b79ff2bf921289a55cb07d97f1d607de38db /drivers/net/wireless/ath/ath10k/core.c
parentath10k: add struct ath10k_bus_params (diff)
downloadkernel-qcow2-linux-7c2dd6154fc22e2aec1fcb384beb0a6372f2b439.tar.gz
kernel-qcow2-linux-7c2dd6154fc22e2aec1fcb384beb0a6372f2b439.tar.xz
kernel-qcow2-linux-7c2dd6154fc22e2aec1fcb384beb0a6372f2b439.zip
ath10k: add device type enum to ath10k_bus_params
Add dev_type parameter to struct ath10k_bus_params. The dev type specifies if the device is a high latency device (usb and sdio) or low latency device (pci, ahb and snoc) The setup of high latency chips is sometimes different than for chips using low latency interfaces. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index df8e7f7a8d2b..93f5a21de9c7 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -2928,6 +2928,7 @@ int ath10k_core_register(struct ath10k *ar,
const struct ath10k_bus_params *bus_params)
{
ar->chip_id = bus_params->chip_id;
+ ar->dev_type = bus_params->dev_type;
queue_work(ar->workqueue, &ar->register_work);
return 0;