diff options
author | Erik Stromdahl <erik.stromdahl@gmail.com> | 2018-09-04 15:03:44 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-09-06 19:13:58 +0300 |
commit | 7c2dd6154fc22e2aec1fcb384beb0a6372f2b439 (patch) | |
tree | 9a27b79ff2bf921289a55cb07d97f1d607de38db /drivers/net/wireless/ath/ath10k/usb.c | |
parent | c0d8d565787c5d8f7d4b0ae319dc1d44d69a51d9 (diff) | |
download | linux-7c2dd6154fc22e2aec1fcb384beb0a6372f2b439.tar.xz |
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/usb.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/usb.c b/drivers/net/wireless/ath/ath10k/usb.c index 275e00bafcb1..f731d35ee76d 100644 --- a/drivers/net/wireless/ath/ath10k/usb.c +++ b/drivers/net/wireless/ath/ath10k/usb.c @@ -1016,6 +1016,7 @@ static int ath10k_usb_probe(struct usb_interface *interface, ar->id.vendor = vendor_id; ar->id.device = product_id; + bus_params.dev_type = ATH10K_DEV_TYPE_HL; /* TODO: don't know yet how to get chip_id with USB */ bus_params.chip_id = 0; ret = ath10k_core_register(ar, &bus_params); |