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

From: Jeff Johnson
Date: Fri Nov 11 2022 - 15:00:10 EST


On 11/9/2022 10:19 PM, Xiu Jianfeng 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>