Home Home > GIT Browse > SLE15-SP1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-05-17 16:59:18 +0200
committerTakashi Iwai <tiwai@suse.de>2019-05-17 16:59:22 +0200
commit43e4f8c7b16778ae8a9374236b7e5b71f2c67f9e (patch)
tree90da60f687785fbb7913efdb8378a941a0059c32
parentf421b25b49d093c13f00be81bcabfecfd41926df (diff)
ath10k: snoc: fix unbalanced clock error handling (bsc#1111666).
-rw-r--r--drivers/net/wireless/ath/ath10k/snoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c
index fa1843a7e0fd..e2d78f77edb7 100644
--- a/drivers/net/wireless/ath/ath10k/snoc.c
+++ b/drivers/net/wireless/ath/ath10k/snoc.c
@@ -1190,7 +1190,7 @@ static int ath10k_wcn3990_clk_init(struct ath10k *ar)
return 0;
err_clock_config:
- for (; i >= 0; i--) {
+ for (i = i - 1; i >= 0; i--) {
clk_info = &ar_snoc->clk[i];
if (!clk_info->handle)