extcon: arizona: Suppress duplicate JACKDET reports
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Apr 2013 18:05:27 +0000 (19:05 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 2 Apr 2013 10:53:56 +0000 (11:53 +0100)
commita3e2078d6a14bc67e733f7dbd32d1bc4051c9d90
tree0a6bc938ed9080b82d0f2d66a7b0243b7fc6663a
parent82e2e0fd3fcf2aec9d5796e31d7f29c738331f6b
extcon: arizona: Suppress duplicate JACKDET reports

In cases where we see a brief (dis)connection of the jack detection signals
we may see a noop jack insertion or removal where the jack has returned to
the original state by the time the interrupt is serviced. Suppress these
events in order to save work and avoid confusing the rest of the code.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/extcon/extcon-arizona.c