aboutsummaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:09:37 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:37 +0000
commit75cafba880ed73eeca83d2a0bec5fb202fc02741 (patch)
tree6f7d455bc1f1887585cf8261c800b5dc06e80c25 /firmware
parentf79578cc52faf5e7a9690236138ea8104e4029ad (diff)
fix-jack-debounce.patch
Headphone jack detection is bouncy, it can trigger multiple interrupts on insertion or removal. This patch adds a workqueue that waits out the interrupt spew in 100ms units, and if it sees no more interrupts for 100ms only then samples and reports the jack state. I was unable to get a bounce after 20 or so tries after this. Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions