]> git.karo-electronics.de Git - linux-beck.git/commitdiff
HSI: nokia-modem: setup default value for pm parameter
authorSebastian Reichel <sre@kernel.org>
Fri, 14 Nov 2014 22:33:08 +0000 (23:33 +0100)
committerSebastian Reichel <sre@kernel.org>
Fri, 14 Nov 2014 22:33:08 +0000 (23:33 +0100)
The module documents, that 1 is the default, but
it actually isn't. This updates the module to use
pm=1 as default.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/hsi/clients/nokia-modem.c

index e43c3c9acec1653b2612dcb63e910b5645246bcf..67b8e8f53a0961800e00989cd22661d8bf381ef0 100644 (file)
@@ -29,7 +29,7 @@
 #include <linux/of_gpio.h>
 #include <linux/hsi/ssi_protocol.h>
 
-static unsigned int pm;
+static unsigned int pm = 1;
 module_param(pm, int, 0400);
 MODULE_PARM_DESC(pm,
        "Enable power management (0=disabled, 1=userland based [default])");