From ac1f7c159996e98779d36c9ad0989e3b6ef540ab Mon Sep 17 00:00:00 2001 From: Lucille Sylvester <lsylvest@codeaurora.org> Date: Mon, 10 Mar 2014 16:50:45 -0600 Subject: [PATCH] PM / devfreq: Make target flags unique Overlapping target flags cause both to be set rather than the intended one. Make sure the flags have different values. Change-Id: Ia4fb9566be7284e57e67be78c32de05cbd11d6f8 Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org> --- include/linux/devfreq.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h index ff0e371aac06..cea3e4387c34 100644 --- a/include/linux/devfreq.h +++ b/include/linux/devfreq.h @@ -51,10 +51,10 @@ struct devfreq_dev_status { * bound (greatest lower bound) */ #define DEVFREQ_FLAG_LEAST_UPPER_BOUND 0x1 -#define DEVFREQ_FLAG_WAKEUP_MAXFREQ 0x2 -#define DEVFREQ_FLAG_FAST_HINT 0x2 -#define DEVFREQ_FLAG_SLOW_HINT 0x4 +#define DEVFREQ_FLAG_FAST_HINT 0x2 +#define DEVFREQ_FLAG_SLOW_HINT 0x4 +#define DEVFREQ_FLAG_WAKEUP_MAXFREQ 0x8 /** * struct devfreq_governor_data - mapping to per device governor data -- GitLab