upstream: [media] adv7842: properly enable/disable the irqs
authorMartin Bugge <marbugge@cisco.com>
Tue, 10 Dec 2013 14:14:26 +0000 (11:14 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:28 +0000 (11:55 +0900)
commit5d336dc70a93cbb43e09c9d298884f2b6386ad48
treea06ac44049e478768282829e06b9cef33fe55418
parenta0451745c0c9896d02246afa0ee49589b5f58265
upstream: [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