diff options
author | Bastien Nocera <hadess@hadess.net> | 2015-07-23 17:21:07 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-08-08 16:36:46 +0100 |
commit | 0ad4bf37017621e25fe157fa095fd8849779a873 (patch) | |
tree | e3d4b9689b9c183883115b47da80c2c36bd54e2c /drivers/misc | |
parent | c4eaab798bd459f0c3f8917e74abf1851f3e1cb5 (diff) |
iio:accel:bmc150-accel: Use the chip ID to detect sensor variant
Instead of using the I2C or ACPI ID to determine which variant of
the chipset to use, determine that from the chip ID.
Under Windows, the same driver is used for those variants and, despite
incorrect ACPI data, it is able to load and operate the accelerometer.
Fixes the accelerometer failing with:
bmc150_accel i2c-BMA250E:00: Invalid chip f8
on the WinBook TW100
Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions