summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitin Garg <nitin.garg@freescale.com>2012-06-08 09:15:54 -0500
committerNitin Garg <nitin.garg@freescale.com>2012-06-08 09:15:54 -0500
commitbac8d703dba3dd242836fbf9093c4a2ec5950873 (patch)
tree2c3c1f2fad6b6c71fdf99e952228767122b71357
parentb339ccc94311954734decf3eb82c14a4ce561c03 (diff)
ENGR00175722: mma8451 acclerometer sensor improvement
MMA8451 is very noisy even when idle as it has no hysteresis on the input. Increased the input Fuzz to 128. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
-rw-r--r--drivers/hwmon/mxc_mma8451.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/mxc_mma8451.c b/drivers/hwmon/mxc_mma8451.c
index f6469599aa95..568d2cf83582 100644
--- a/drivers/hwmon/mxc_mma8451.c
+++ b/drivers/hwmon/mxc_mma8451.c
@@ -42,8 +42,8 @@
#define POLL_INTERVAL_MIN 20
#define POLL_INTERVAL_MAX 1000
#define POLL_INTERVAL 500
-#define INPUT_FUZZ 32
-#define INPUT_FLAT 32
+#define INPUT_FUZZ 128
+#define INPUT_FLAT 128
#define MODE_CHANGE_DELAY_MS 100
#define MMA8451_STATUS_ZYXDR 0x08