Files
linux/drivers
Quentin Schulz 8ff7eb4bc8 iio: bmg160: reset chip when probing
commit 4bdc902968 upstream.

The gyroscope chip might need to be reset to be used.

Without the chip being reset, the driver stopped at the first
regmap_read (to get the CHIP_ID) and failed to probe.

The datasheet of the gyroscope says that a minimum wait of 30ms after
the reset has to be done.

This patch has been checked on a BMX055 and the datasheet of the BMG160
and the BMI055 give the same reset register and bits.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-12 12:38:33 +02:00
..
2015-10-12 19:56:27 -07:00
2017-03-12 06:37:27 +01:00
2017-03-26 12:13:18 +02:00
2017-04-12 12:38:33 +02:00
2016-09-24 10:07:35 +02:00
2017-01-12 11:22:47 +01:00
2017-03-30 09:35:19 +02:00
2017-02-23 17:43:10 +01:00
2017-04-08 09:53:32 +02:00
2017-04-08 09:53:31 +02:00
2017-03-30 09:35:17 +02:00
2017-03-30 09:35:20 +02:00