hwmon: lis3: restore axis enabled bits
[~shefty/rdma-dev.git] / drivers / hwmon / lis3lv02d_i2c.c
index ec35c87819c0fe801b17c4cb893e9d9c98608b25..c1e7420cf77d49d11c4bbef962697276f9be0adb 100644 (file)
@@ -83,7 +83,7 @@ static int lis3_i2c_init(struct lis3lv02d *lis3)
        if (ret < 0)
                return ret;
 
-       reg |= CTRL1_PD0;
+       reg |= CTRL1_PD0 | CTRL1_Xen | CTRL1_Yen | CTRL1_Zen;
        return lis3->write(lis3, CTRL_REG1, reg);
 }