remarkable-linux/drivers/iio/imu
Atilla Filiz b9b3a41893 iio:imu:mpu6050: Fixed segfault in Invensens MPU driver due to null dereference
The driver segfaults when the kernel boots with device tree as the
platform data is then not present and the pointer is deferenced without
checking it is not null.  This patch introduces such a check avoiding the
crash.

Signed-off-by: Atilla Filiz <atilla.filiz@essensium.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Stable@vger.kernel.org
2014-04-26 11:14:51 +01:00
..
inv_mpu6050 iio:imu:mpu6050: Fixed segfault in Invensens MPU driver due to null dereference 2014-04-26 11:14:51 +01:00
adis.c iio:imu: Add support for the ADIS16480 and similar IMUs 2012-11-20 21:28:51 +00:00
adis16400.h iio: adis16400: Set timestamp as the last element in chan_spec 2014-02-08 11:26:06 +00:00
adis16400_buffer.c iio:adis16400: Use iio_push_to_buffers_with_timestamp() 2013-09-21 19:23:57 +01:00
adis16400_core.c First set of new drivers and cleanups for IIO in the 3.15 cycle. 2014-02-11 14:12:12 -08:00
adis16480.c iio: imu: adis16480: Use devm_iio_device_alloc 2013-08-03 18:55:24 +01:00
adis_buffer.c iio:adis_lib: Use iio_push_to_buffers_with_timestamp() 2013-09-21 19:23:57 +01:00
adis_trigger.c iio:trigger: Introduce iio_tigger_{set,get}_drvdata 2013-03-25 21:06:09 +00:00
Kconfig iio: imu: mpu6050: Move config entry into IMU menu 2014-02-08 12:27:30 +00:00
Makefile iio: Add a comment to about alphabetical order to Kconfigs and Makefiles 2013-08-03 18:40:36 +01:00