summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@intel.com>2016-03-17 17:32:44 +0100
committerJonathan Cameron <jic23@kernel.org>2016-05-04 09:44:27 +0200
commit393dbe4e18dd5b17b3952c7d36ac88f61ec40924 (patch)
tree31e88fad600270dfabe6f04d2557f141035d8988 /drivers/usb
parentiio: imu: mpu6050: fix possible NULL dereferences (diff)
downloadlinux-393dbe4e18dd5b17b3952c7d36ac88f61ec40924.tar.xz
linux-393dbe4e18dd5b17b3952c7d36ac88f61ec40924.zip
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: c816d9e7a57b ("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>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions