Re: [PATCH RESEND v2] wifi: ath10k: Fix return value in ath10k_pci_init()

From: Kalle Valo
Date: Thu Nov 17 2022 - 07:57:26 EST


Xiu Jianfeng <xiujianfeng@xxxxxxxxxx> wrote:

> This driver is attempting to register to support two different buses.
> if either of these is successful then ath10k_pci_init() should return 0
> so that hardware attached to the successful bus can be probed and
> supported. only if both of these are unsuccessful should ath10k_pci_init()
> return an errno.
>
> Fixes: 0b523ced9a3c ("ath10k: add basic skeleton to support ahb")
> Signed-off-by: Xiu Jianfeng <xiujianfeng@xxxxxxxxxx>
> Reviewed-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
> Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>

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

2af7749047d8 wifi: ath10k: Fix return value in ath10k_pci_init()

--
https://patchwork.kernel.org/project/linux-wireless/patch/20221110061926.18163-1-xiujianfeng@xxxxxxxxxx/

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