summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/st_gyro.h
diff options
context:
space:
mode:
authorDenis CIOCCA <denis.ciocca@st.com>2014-02-14 18:15:00 +0400
committerJonathan Cameron <jic23@kernel.org>2014-02-18 14:24:49 +0400
commita0657716416f834ef7710a9044614d50a36c3bdc (patch)
tree17a2d01576440f254dbe9d2beea8ad2d81bf971c /drivers/iio/gyro/st_gyro.h
parent1463a166b4eafc654874528ba5e2f66dbdfb8048 (diff)
downloadlinux-a0657716416f834ef7710a9044614d50a36c3bdc.tar.xz
iio:gyro: bug on L3GD20H gyroscope support
The driver was not able to manage the sensor: during probe function and wai check, the driver stops and writes: "device name and WhoAmI mismatch." The correct value of L3GD20H wai is 0xd7 instead of 0xd4. Dropped support for the sensor. Signed-off-by: Denis Ciocca <denis.ciocca@st.com> Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/gyro/st_gyro.h')
-rw-r--r--drivers/iio/gyro/st_gyro.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/gyro/st_gyro.h b/drivers/iio/gyro/st_gyro.h
index f8f2bf84a5a2..c197360c450b 100644
--- a/drivers/iio/gyro/st_gyro.h
+++ b/drivers/iio/gyro/st_gyro.h
@@ -19,7 +19,6 @@
#define LSM330DL_GYRO_DEV_NAME "lsm330dl_gyro"
#define LSM330DLC_GYRO_DEV_NAME "lsm330dlc_gyro"
#define L3GD20_GYRO_DEV_NAME "l3gd20"
-#define L3GD20H_GYRO_DEV_NAME "l3gd20h"
#define L3G4IS_GYRO_DEV_NAME "l3g4is_ui"
#define LSM330_GYRO_DEV_NAME "lsm330_gyro"