summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/st_gyro_spi.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_spi.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_spi.c')
-rw-r--r--drivers/iio/gyro/st_gyro_spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/gyro/st_gyro_spi.c b/drivers/iio/gyro/st_gyro_spi.c
index 94763e25caf9..b4ad3be26687 100644
--- a/drivers/iio/gyro/st_gyro_spi.c
+++ b/drivers/iio/gyro/st_gyro_spi.c
@@ -54,7 +54,6 @@ static const struct spi_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 },
{},