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)
commit931eb6b7fee31f63d33fd5e1e62a60375fa6fb32
tree3e9612db2b7571efae75a3e27a04aeaf72e00acb
parent30d2049b3277cdf6964996f86626add08cf160df
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