linux/drivers/iio
Daniel Baluta 393dbe4e18 iio: imu: mpu6050: Fix name/chip_id when using ACPI
When using ACPI, id is NULL and the current code automatically
defaults name to NULL and chip id to 0. We should instead use
the data provided in the ACPI device table.

Fixes: c816d9e7a5 ("iio: imu: mpu6050: fix possible NULL dereferences")
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Reviewed-By: Matt Ranostay <matt.ranostay@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-05-04 08:44:27 +01:00
..
accel iio: accel: bmc150: fix endianness when reading axes 2016-04-03 11:16:11 +01:00
adc iio:adc:at91-sama5d2: Repair crash on module removal 2016-04-18 19:53:34 +01:00
amplifiers
buffer
chemical iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
common
dac iio: dac: vf610_dac: Add IIO DAC driver for Vybrid SoC 2016-02-24 20:52:55 +00:00
dummy
frequency
gyro iio: gyro: bmg160: fix buffer read values 2016-04-03 11:21:33 +01:00
health iio: health: max30100: correct FIFO check condition 2016-03-28 10:09:58 +01:00
humidity iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
imu iio: imu: mpu6050: Fix name/chip_id when using ACPI 2016-05-04 08:44:27 +01:00
light First round of IIO fixes for the 4.6 cycle. 2016-04-04 12:59:48 -07:00
magnetometer iio: ak8975: fix maybe-uninitialized warning 2016-04-17 12:16:36 +01:00
orientation
potentiometer iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
pressure iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
proximity iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
temperature iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
trigger
Kconfig
Makefile
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: fix config watermark initial value 2016-03-28 11:00:38 +01:00
industrialio-configfs.c
industrialio-core.c
industrialio-event.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c