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>
This commit is contained in:

committed by
Kalle Valo

parent
c0d8d56578
commit
7c2dd6154f
@@ -2036,6 +2036,7 @@ static int ath10k_sdio_probe(struct sdio_func *func,
|
||||
goto err_free_wq;
|
||||
}
|
||||
|
||||
bus_params.dev_type = ATH10K_DEV_TYPE_HL;
|
||||
/* TODO: don't know yet how to get chip_id with SDIO */
|
||||
bus_params.chip_id = 0;
|
||||
ret = ath10k_core_register(ar, &bus_params);
|
||||
|
Reference in New Issue
Block a user