summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gasket
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2018-08-02 01:42:38 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-02 11:00:21 +0200
commit025556d55d6edf3b3be1267a481be0890b96cc65 (patch)
treeb4991e0987e99dbe6a90dd19a826738ad6be70b7 /drivers/staging/gasket
parentd9da1cbd0ba61dca36b96e66194f3f2f5b2e63e8 (diff)
downloadlinux-025556d55d6edf3b3be1267a481be0890b96cc65.tar.bz2
staging: gasket: apex: enable power save mode by default
Set default value of allow_power_save parameter to enable power save mode, which is expected to be the state usually desired. Signed-off-by: Marty Faltesek <mfaltesek@google.com> Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gasket')
-rw-r--r--drivers/staging/gasket/apex_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gasket/apex_driver.c b/drivers/staging/gasket/apex_driver.c
index 9577fde15a53..42cef68eb4c1 100644
--- a/drivers/staging/gasket/apex_driver.c
+++ b/drivers/staging/gasket/apex_driver.c
@@ -229,7 +229,7 @@ static struct gasket_interrupt_desc apex_interrupts[] = {
/* Allows device to enter power save upon driver close(). */
-static int allow_power_save;
+static int allow_power_save = 1;
/* Allows SW based clock gating. */
static int allow_sw_clock_gating;