aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/st_gyro.h
diff options
context:
space:
mode:
authorDenis CIOCCA <denis.ciocca@st.com>2014-02-14 14:15:00 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-06 21:30:11 -0800
commit55c830e876d6604276110ac406802417d443c08b (patch)
treea8d57063114375dba8b678f63e84a098ba1742c1 /drivers/iio/gyro/st_gyro.h
parentb3a59abff46afb06daadec59c80d07dd0b1053cf (diff)
downloadlinux-linaro-stable-55c830e876d6604276110ac406802417d443c08b.tar.gz
iio:gyro: bug on L3GD20H gyroscope support
commit a0657716416f834ef7710a9044614d50a36c3bdc upstream. 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> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 3ad9907bb154..25ee236b1bb2 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"