Title: [9405] trunk/drivers/staging/iio/adc/ad7816.c: staging: iio: ad7816 Remove use of irq_flags
- Revision
- 9405
- Author
- hennerich
- Date
- 2010-10-25 10:56:10 -0400 (Mon, 25 Oct 2010)
Log Message
staging: iio: ad7816 Remove use of irq_flags
There is a pending patch adding irq_flags to I2C/SPI board info.
It's currently not sure if it get accepted or rejected.
Temporarily use IRQF_TRIGGER_LOW, and make sure the chip IRQ line
polarity is set accordingly.
Modified Paths
Diff
Modified: trunk/drivers/staging/iio/adc/ad7816.c (9404 => 9405)
--- trunk/drivers/staging/iio/adc/ad7816.c 2010-10-25 14:55:46 UTC (rev 9404)
+++ trunk/drivers/staging/iio/adc/ad7816.c 2010-10-25 14:56:10 UTC (rev 9405)
@@ -438,13 +438,10 @@
if (spi_dev->irq) {
/* Only low trigger is supported in ad7816/7/8 */
- spi_dev->irq_flags &= ~IRQF_TRIGGER_MASK;
- spi_dev->irq_flags |= IRQF_TRIGGER_LOW;
-
ret = iio_register_interrupt_line(spi_dev->irq,
chip->indio_dev,
0,
- spi_dev->irq_flags,
+ IRQF_TRIGGER_LOW,
chip->name);
if (ret)
goto error_unreg_dev;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits