Re: [PATCH v2] ath10k: Fix qmi init error handling

From: Kalle Valo
Date: Mon Nov 25 2019 - 07:02:53 EST


Jeffrey Hugo <jeffrey.l.hugo@xxxxxxxxx> wrote:

> When ath10k_qmi_init() fails, the error handling does not free the irq
> resources, which causes an issue if we EPROBE_DEFER as we'll attempt to
> (re-)register irqs which are already registered.
>
> Fix this by doing a power off since we just powered on the hardware, and
> freeing the irqs as error handling.
>
> Fixes: ba94c753ccb4 ("ath10k: add QMI message handshake for wcn3990 client")
> Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@xxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

f8a595a87e93 ath10k: Fix qmi init error handling

--
https://patchwork.kernel.org/patch/11242133/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches