ARM: tegra: cpuquiet: make userspace governor actions synchronous
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Tue, 12 Feb 2013 15:51:26 +0000 (17:51 +0200)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 18 May 2015 08:07:10 +0000 (16:07 +0800)
commit92c4d8b6f07963bd276dd7b1ecea4e9729491056
treebd03b1206ccd30aa0ad6fb3303afe6df3376a07f
parenta0529ec18b5c492bb55707061873d4db078b0445
ARM: tegra: cpuquiet: make userspace governor actions synchronous

Userspace expects changes to happen synchronously. Implement this by waiting
with a (configureable) timeout for the action to happen.

Bug 1220065

Change-Id: I81301719707e4baf2b3aea62c38fc771ffe1205d
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/200013
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/cpuquiet/driver.c
drivers/cpuquiet/governors/balanced.c
drivers/cpuquiet/governors/runnable_threads.c
drivers/cpuquiet/governors/userspace.c
include/linux/cpuquiet.h