Yesterdays kernel/git/kvalo/ath.git failes with COMPEX WLE600VX
Kalle Valo
kvalo at qca.qualcomm.com
Fri Nov 20 03:34:48 PST 2015
Joerg Pommnitz <pommnitz at yahoo.com> writes:
> Hello all,
> Kalles current git tree fails to initialize my COMPEX WLE600VX. The kernel log shows
> [ 16.373978] ath10k_pci 0000:05:00.0: failed to wake up device : -110
> [ 16.374118] ath10k_pci: probe of 0000:05:00.0 failed with error -110
Can you send full dmesg, right from the beginning of the boot, please?
It might give some hints.
I have a similar problem in one of my laptop (lenovo thinkpad x230). The
patch below helps with that one, but I haven't investigated it more yet.
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -2811,6 +2811,18 @@ static int ath10k_pci_claim(struct ath10k *ar)
pci_set_drvdata(pdev, ar);
+ /*
+ * Without any knowledge of the Host, the Target may have been
reset or
+ * power cycled and its Config Space may no longer reflect the
PCI
+ * address space that was assigned earlier by the PCI
infrastructure.
+ * Refresh it now.
+ */
+ ret = pci_assign_resource(pdev, BAR_NUM);
+ if (ret) {
+ ath10k_err(ar, "failed to assign PCI space: %d\n", ret);
+ return ret;
+ }
+
ret = pci_enable_device(pdev);
if (ret) {
ath10k_err(ar, "failed to enable pci device: %d\n",
ret);
--
Kalle Valo
More information about the ath10k
mailing list