]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Runtime: Fix loops in pm_runtime_clk_notify()
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 7 Jun 2011 21:34:58 +0000 (23:34 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 7 Jun 2011 21:34:58 +0000 (23:34 +0200)
commite4482e4e86831afb323c2da2baa0eda1813387f4
tree958427e5260ec95b04faaef18b5c08249ce8dfda
parent3461a175b2d52ea96344e1c059de3cf54e9c90ef
PM / Runtime: Fix loops in pm_runtime_clk_notify()

The loops over connection ID strings in pm_runtime_clk_notify()
should actually iterate over the strings and not over the elements
of the first of them, so make them behave as appropriate.

This fixes a regression introduced by commit df77556068cdcc9633432
(OMAP1 / PM: Use generic clock manipulation routines for runtime PM).

Reported-and-tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/clock_ops.c