[PATCH 1/8] staging: gasket: apex: enable power save mode by default

Todd Poynor toddpoynor at gmail.com
Thu Aug 2 08:42:38 UTC 2018


From: Todd Poynor <toddpoynor at google.com>

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 at google.com>
Signed-off-by: Todd Poynor <toddpoynor at google.com>
---
 drivers/staging/gasket/apex_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/gasket/apex_driver.c b/drivers/staging/gasket/apex_driver.c
index dfbff47b46086..7fd0dd609d037 100644
--- a/drivers/staging/gasket/apex_driver.c
+++ b/drivers/staging/gasket/apex_driver.c
@@ -233,7 +233,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;
-- 
2.18.0.597.ga71716f1ad-goog



More information about the devel mailing list