[media] adv7842: properly enable/disable the irqs
authorMartin Bugge <marbugge@cisco.com>
Tue, 10 Dec 2013 14:14:26 +0000 (11:14 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 08:22:12 +0000 (06:22 -0200)
commitc9f1f271d4b6455d5ecf43e393668a7c8f4cb833
treec570f31c2d5bee1db8d8525752f3c4dad2e1cb49
parent6251e65f1ba6c1f4e461a1d97735812165c4499d
[media] adv7842: properly enable/disable the irqs

The method of disabling the irq-output pin caused many "empty"
interrupts. Instead, actually disable/enable the interrupts by
changing the interrupt masks.

Also enable STORE_MASKED_IRQ in INT1 configuration, otherwise when HDMI
events happen while the interrupt is masked those events will be ignored
when the interrupt is unmasked.

Signed-off-by: Martin Bugge <marbugge@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7842.c