]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: wm8350: fix missing increment of loop index i
authorColin Ian King <colin.king@canonical.com>
Fri, 20 Apr 2018 09:26:23 +0000 (10:26 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 23 Apr 2018 11:26:05 +0000 (12:26 +0100)
commit4857d5e544f60277458eb0ba53a5fb812423b3ab
tree2b095257cc0952423a2d29de9f47f31b2fe3ab1a
parent599c65398489297c3d398c49f75c5448760c3f66
regulator: wm8350: fix missing increment of loop index i

It seems that the loop index i is not being incremented and hence
potentially the while loop could spin forever. Fortunately with the
data being used this does not appear to happen at the moment.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/wm8350-regulator.c