cpufreq: interactive: keep freezer happy when not current governor
authorSam Leffler <sleffler@chromium.org>
Wed, 27 Jun 2012 19:55:56 +0000 (12:55 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:52 +0000 (13:40 -0700)
commit604395ffe9324990c92d8a9c52023d3cc9ee6c8a
tree64b6be1cea698d9de75d8a24362ea2ddab4efe0d
parent4335359ee77f596797e1ccd961cc4af0a507288d
cpufreq: interactive: keep freezer happy when not current governor

Fix a problem where the hung task mechanism was deeming the interactive
clock boost thread as hung.  This was because the thread is created at
module init but never run/woken up until needed.  If the governor is not
being used this can be forever.  To workaround this explicitly wake up
the thread once all the necessary data structures are initialized.  The
latter required some minor code shuffle.

Signed-off-by: Sam Leffler <sleffler@chromium.org>
Change-Id: Ie2c058dd75dcb6460ea10e7ac997e46baf66b1fe
drivers/cpufreq/cpufreq_interactive.c