[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 08:07:48 +0000 (06:07 -0200)
commit14d03233517001849742e45803219755430a5eed
tree5ed576aa2812650582625f3976b7d92673d782a8
parentff4f80fdfaefb7906ed58ec36248591687f927b5
[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