Merge "soc: qcom: pil: Change clock disabling sequence"

This commit is contained in:
Linux Build Service Account 2016-09-19 23:28:00 -07:00 committed by Gerrit - the friendly Code Review server
commit e61009aff8

View file

@ -518,8 +518,7 @@ err:
static void disable_unprepare_clocks(struct clk **clks, int clk_count)
{
int i;
for (i = 0; i < clk_count; i++)
for (i = --clk_count; i >= 0; i--)
clk_disable_unprepare(clks[i]);
}