]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix error return code in ahb
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 16 Sep 2016 13:05:35 +0000 (13:05 +0000)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 28 Sep 2016 09:41:04 +0000 (12:41 +0300)
commit12c4fa26a386f43dc73b6ffe548c4f9d611fc4b5
tree3e9612db2b7571efae75a3e27a04aeaf72e00acb
parentbd3147e2c7298df0dbaee91c1cadea84570d09f9
ath10k: fix error return code in ahb

Fix to return a negative error code from the error handling case
instead of 0, as done elsewhere in function ath10k_ahb_probe() or
ath10k_ahb_resource_init().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ahb.c