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)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:57:36 +0000 (12:57 -0700)
commit80d549976e2bd357d257a901f5f66c187e1638ff
tree92acf74bb575b20459970f69abd1ef7cb52e5962
parentd441f9f24415dcc9f0134297e01014d260d22025
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>
arch/arm/mach-tegra/cpuquiet.c
drivers/cpuquiet/driver.c
drivers/cpuquiet/governors/balanced.c
drivers/cpuquiet/governors/runnable_threads.c
drivers/cpuquiet/governors/userspace.c
include/linux/cpuquiet.h