summaryrefslogtreecommitdiffstats
path: root/drivers/hsi
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2014-11-14 23:33:08 +0100
committerSebastian Reichel <sre@kernel.org>2014-11-14 23:33:08 +0100
commitcdb83947ab78dac2477b3d27416fbd1cc480cead (patch)
tree485595e436d0bc189913d205b647885c54825dee /drivers/hsi
parent068afbbebe14cdb628f7d738d1d289cf01a3b5d9 (diff)
downloadop-kernel-dev-cdb83947ab78dac2477b3d27416fbd1cc480cead.zip
op-kernel-dev-cdb83947ab78dac2477b3d27416fbd1cc480cead.tar.gz
HSI: nokia-modem: setup default value for pm parameter
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>
Diffstat (limited to 'drivers/hsi')
-rw-r--r--drivers/hsi/clients/nokia-modem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hsi/clients/nokia-modem.c b/drivers/hsi/clients/nokia-modem.c
index e43c3c9..67b8e8f 100644
--- a/drivers/hsi/clients/nokia-modem.c
+++ b/drivers/hsi/clients/nokia-modem.c
@@ -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])");
OpenPOWER on IntegriCloud