aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hwmon/lis3lv02d_i2c.c2
-rw-r--r--drivers/hwmon/lis3lv02d_spi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/lis3lv02d_i2c.c b/drivers/hwmon/lis3lv02d_i2c.c
index ec35c87819c0..c1e7420cf77d 100644
--- a/drivers/hwmon/lis3lv02d_i2c.c
+++ b/drivers/hwmon/lis3lv02d_i2c.c
@@ -83,7 +83,7 @@ static int lis3_i2c_init(struct lis3lv02d *lis3)
83 if (ret < 0) 83 if (ret < 0)
84 return ret; 84 return ret;
85 85
86 reg |= CTRL1_PD0; 86 reg |= CTRL1_PD0 | CTRL1_Xen | CTRL1_Yen | CTRL1_Zen;
87 return lis3->write(lis3, CTRL_REG1, reg); 87 return lis3->write(lis3, CTRL_REG1, reg);
88} 88}
89 89
diff --git a/drivers/hwmon/lis3lv02d_spi.c b/drivers/hwmon/lis3lv02d_spi.c
index 955544b1c71e..2549de1de4e2 100644
--- a/drivers/hwmon/lis3lv02d_spi.c
+++ b/drivers/hwmon/lis3lv02d_spi.c
@@ -50,7 +50,7 @@ static int lis3_spi_init(struct lis3lv02d *lis3)
50 if (ret < 0) 50 if (ret < 0)
51 return ret; 51 return ret;
52 52
53 reg |= CTRL1_PD0; 53 reg |= CTRL1_PD0 | CTRL1_Xen | CTRL1_Yen | CTRL1_Zen;
54 return lis3->write(lis3, CTRL_REG1, reg); 54 return lis3->write(lis3, CTRL_REG1, reg);
55} 55}
56 56