linux_dsm_epyc7002/drivers/iio
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
..
accel iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
adc iio: adc: vf610: Determine sampling frequencies by using minimum sample time 2015-07-20 18:41:16 +01:00
amplifiers iio: amplifiers: ad8366: Use right order for type specification 2015-01-01 12:16:57 +00:00
common iio: ssp_sensors: Remove redundant spi driver bus initialization 2015-07-05 14:06:33 +01:00
dac iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
frequency iio: frequency: adf4350: Delete blank line 2015-07-11 18:28:04 +01:00
gyro iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
humidity iio: dht11: Use new function ktime_get_resolution_ns() 2015-07-20 18:41:20 +01:00
imu iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
light iio: light: Add support for TXC PA12 als and proximity sensor 2015-07-20 18:41:21 +01:00
magnetometer iio:magnetometer:bmc150_magn: replace magic value 2015-07-19 11:04:15 +01:00
orientation iio: orientation: hid-sensor-rotation: Fix memory leak in probe() 2015-05-17 09:10:25 +01:00
pressure iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
proximity iio:prox:sx9500 trivial simplification of return path in init function. 2015-05-07 10:42:31 +01:00
temperature iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
trigger iio: trigger: Add a blank line after declarations 2014-12-26 12:15:36 +00:00
buffer_cb.c iio: Specify supported modes for buffers 2015-06-01 11:31:12 +01:00
iio_core_trigger.h iio: fix semicolon in io_core_trigger.h 2013-08-03 18:40:32 +01:00
iio_core.h iio: Move buffer registration to the core 2014-12-12 12:28:31 +00:00
industrialio-buffer.c iio: allow userspace to flush the hwfifo with non-blocking reads 2015-06-21 14:51:13 +01:00
industrialio-core.c iio: Add missing modifier names to core 2015-06-21 10:45:39 +01:00
industrialio-event.c iio: core: add high pass filter attributes 2015-05-17 10:32:35 +01:00
industrialio-trigger.c iio: Remove timestamp argument from iio_trigger_poll() and iio_trigger_poll_chained() 2014-06-14 16:25:59 +01:00
industrialio-triggered-buffer.c iio: Fix parameters in iio_triggered_buffer_setup 2015-07-05 15:19:50 +01:00
inkern.c First round of IIO new drivers, cleanups and functionality for the 3.20 cycle take 2 2015-01-21 10:13:37 +08:00
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
kfifo_buf.c Third round of new IIO drivers, cleanups and functionality for the 4.2 cycle. 2015-06-10 20:48:34 -07:00
Makefile iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00