summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/st_gyro_i2c.c
diff options
context:
space:
mode:
authorDenis CIOCCA <denis.ciocca@st.com>2014-02-14 14:15:00 +0000
committerJonathan Cameron <jic23@kernel.org>2014-02-18 10:24:49 +0000
commita0657716416f834ef7710a9044614d50a36c3bdc (patch)
tree17a2d01576440f254dbe9d2beea8ad2d81bf971c /drivers/iio/gyro/st_gyro_i2c.c
parent1463a166b4eafc654874528ba5e2f66dbdfb8048 (diff)
iio:gyro: bug on L3GD20H gyroscope supportiio-fixes-for-3.14c
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_i2c.c')
-rw-r--r--drivers/iio/gyro/st_gyro_i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/gyro/st_gyro_i2c.c b/drivers/iio/gyro/st_gyro_i2c.c
index 16b8b8d70bf1..23c12f361b05 100644
--- a/drivers/iio/gyro/st_gyro_i2c.c
+++ b/drivers/iio/gyro/st_gyro_i2c.c
@@ -55,7 +55,6 @@ static const struct i2c_device_id st_gyro_id_table[] = {
{ LSM330DL_GYRO_DEV_NAME },
{ LSM330DLC_GYRO_DEV_NAME },
{ L3GD20_GYRO_DEV_NAME },
- { L3GD20H_GYRO_DEV_NAME },
{ L3G4IS_GYRO_DEV_NAME },
{ LSM330_GYRO_DEV_NAME },
{},