upstream: [media] adv7604: remove debouncing of ADV7604_FMT_CHANGE events
authorMats Randgaard <matrandg@cisco.com>
Thu, 5 Dec 2013 13:26:11 +0000 (10:26 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:26 +0000 (11:55 +0900)
commita21f3f1de2ee66e6b0f6c9fa061e37850b2a3939
treef8289bf139e6923debd1f32645f74ffe9f80d45a
parentb183fccc0b8f2abf39f6bf310de483f2066a5ab2
upstream: [media] adv7604: remove debouncing of ADV7604_FMT_CHANGE events

ADV7604_FMT_CHANGE events was debounced in adv7604_isr() to avoid
that a receiver with a unstable input signal would block the event
handling for other inputs. This solution was prone to errors.

A better protection agains interrupt blocking is to delay the call
of the interrupt service routine in the adv7604 driver if too many
interrupts are received within a given time.

Signed-off-by: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7604.c