ARM: tegra: cpuquiet: augment no_lp to force both LP and G
authorSimo Melenius <smelenius@nvidia.com>
Fri, 8 Mar 2013 09:24:12 +0000 (11:24 +0200)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 18 May 2015 08:07:11 +0000 (16:07 +0800)
- tegra_cpuquiet 'no_lp' node now accepts '-1' to force LP cluster on
- when a cluster is forced the switches take place immediately without
  any delay

Bug 1247636

Change-Id: I1ec07acc3cf51419a4770542c6a1c90b92e0bf66
Signed-off-by: Simo Melenius <smelenius@nvidia.com>
Reviewed-on: http://git-master/r/208772
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
(cherry picked from commit ab16bbb6f581da538448d2a64e03dd272b8fb985)
Reviewed-on: http://git-master/r/210358

include/linux/cpuquiet.h

index 1bcfecce3a28a6a8459eaf20ea184ae0bce4a500..02e0267a463664299d17b6f6cb5803b2657688aa 100644 (file)
@@ -82,7 +82,7 @@ struct cpuquiet_attribute {
        static struct cpuquiet_attribute _name ## _attr = {             \
                .attr = {.name = __stringify(_name), .mode = _mode },   \
                .show = _show,                                          \
-               .store = _store                                         \
+               .store = _store,                                        \
                .store_callback = NULL,                                 \
                .param = &_name,                                        \
 }