diff options
| author | Lucille Sylvester <lsylvest@codeaurora.org> | 2013-06-27 10:56:18 -0600 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:03:38 -0700 |
| commit | beedddbfd75167d64d1fcf721abc8c86b17b2286 (patch) | |
| tree | 38082ae4935386d18274b61ddb0c41c0d16c40b9 /drivers/devfreq/governor_userspace.c | |
| parent | b6c9810e9652dc562eaa947b2faa921f9a33c472 (diff) | |
PM / devfreq: Allow the governors to set the target flag
The devfreq framework calls a frequency targeting function with
a flag parameter. Allow the governors to influence that parameter.
Change-Id: I4058bd9dcd027dd246ccdb90d25c68f1dc055901
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
Diffstat (limited to 'drivers/devfreq/governor_userspace.c')
| -rw-r--r-- | drivers/devfreq/governor_userspace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/devfreq/governor_userspace.c b/drivers/devfreq/governor_userspace.c index 35de6e83c1fe..4fbde042e9dd 100644 --- a/drivers/devfreq/governor_userspace.c +++ b/drivers/devfreq/governor_userspace.c @@ -22,7 +22,8 @@ struct userspace_data { bool valid; }; -static int devfreq_userspace_func(struct devfreq *df, unsigned long *freq) +static int devfreq_userspace_func(struct devfreq *df, unsigned long *freq, + u32 *flag) { struct userspace_data *data = df->data; |
