[media] adv7180: Pass correct flags to request_threaded_irq()
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 23 Jan 2015 15:52:21 +0000 (12:52 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 13:15:53 +0000 (11:15 -0200)
commitf3e991d418c7ee2890b1956c32f8b31639249ade
treed9a0a96ac6ad4c8fe70fa4978ef2342af07958b2
parentfa5721d159bb1da086d85c34f358282d4ae07093
[media] adv7180: Pass correct flags to request_threaded_irq()

Most IRQ controllers support different types of interrupts. The adv7180
generates falling edge interrupts, so make sure to pass IRQF_TRIGGER_FALLING
to request_threaded_irq() so the IRQ controller is configured for the
correct mode.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Federico Vaga <federico.vaga@gmail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7180.c