iio:gyro: bug on L3GD20H gyroscope support
authorDenis CIOCCA <denis.ciocca@st.com>
Fri, 14 Feb 2014 14:15:00 +0000 (14:15 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 18 Feb 2014 10:24:49 +0000 (10:24 +0000)
commita0657716416f834ef7710a9044614d50a36c3bdc
tree17a2d01576440f254dbe9d2beea8ad2d81bf971c
parent1463a166b4eafc654874528ba5e2f66dbdfb8048
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>
drivers/iio/gyro/Kconfig
drivers/iio/gyro/st_gyro.h
drivers/iio/gyro/st_gyro_core.c
drivers/iio/gyro/st_gyro_i2c.c
drivers/iio/gyro/st_gyro_spi.c