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

Jeff Johnson quic_jjohnson at quicinc.com
Fri Nov 11 11:59:41 PST 2022


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 at huawei.com>

Reviewed-by: Jeff Johnson <quic_jjohnson at quicinc.com>




More information about the ath10k mailing list