linux/drivers/iio/imu
Octavian Purdila c176becd81 iio: fix drivers that consider 0 as a valid IRQ in client->irq
Since patch "i2c / ACPI: Use 0 to indicate that device does not have
interrupt assigned" [1], 0 is not a valid i2c client irq anymore, so
change all driver's checks accordingly.

The same issue occurs when the device is instantiated via device tree
with no IRQ, or from the i2c sysfs interface, even before the patch
above.

[1] http://lkml.kernel.org/g/<1430908148-201129-3-git-send-email-mika.westerberg@linux.intel.com>

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-07-23 20:23:11 +01:00
..
inv_mpu6050 iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
adis16400_buffer.c iio: adis16400: Fix burst transfer for adis16448 2015-05-16 11:01:20 +01:00
adis16400_core.c iio: adis16400: Fix burst transfer for adis16448 2015-05-16 11:01:20 +01:00
adis16400.h iio: adis16400: Fix burst transfer for adis16448 2015-05-16 11:01:20 +01:00
adis16480.c iio: imu: adis16480 switch sampling frequency attr to core support 2014-07-07 10:00:59 +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: imu: Use iio_trigger_get for indio_dev->trig assignment 2015-03-28 13:51:40 +00:00
adis.c iio:imu: Add support for the ADIS16480 and similar IMUs 2012-11-20 21:28:51 +00:00
Kconfig iio: imu: kmx61: Add support for data ready triggers 2014-12-12 13:49:30 +00:00
kmx61.c iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
Makefile iio: imu: Add support for Kionix KMX61 sensor 2014-12-12 13:43:54 +00:00