This is a second attempt to support out-of-threshold events for tcs3472 driver. * Changes from v1 - Drop "fix ATIME register write" patch as it has been applied to iio.git - Prepare the addition of datasheet link as a separate patch - Neaten the special function code notation - Improve the code comment for tcs3472_intr_pers[] - Fix error path with invalid event info in write_event_value() - Handle correctly if the negative period time is specified (round to the minimum available period time) - Remove redundant the PERS register write - Call free_irq() in reverse order of the initialization. Akinobu Mita (2): iio: light: tcs3472: add link to datasheet iio: light: tcs3472: support out-of-threshold events drivers/iio/light/tcs3472.c | 264 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 256 insertions(+), 8 deletions(-) Cc: Peter Meerwald <pmeerw@xxxxxxxxxx> Cc: Jonathan Cameron <jic23@xxxxxxxxxx> -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html