commit | 0a792b13786088ecefd4f087f7c84dfc6c0a15e1 | [log] [tgz] |
---|---|---|
author | Bhalchandra Gajare <gajare@codeaurora.org> | Tue Sep 06 16:36:58 2011 -0700 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 16:20:44 2011 -0700 |
tree | 723619d5b05776f90fb559c6472ae5817a7ee6d9 | |
parent | 092b72772249f51db109f8f7e82ed386a174ee34 [diff] |
ASoC: WCD9310: Fix fake button press event during headset removal During slow headset removal, there is a possibility for the ground on headset connector to touch the mic line on headset plug, causing the mic voltage drop to ground for a short amount of time. This gets detected as button 0 press interrupt. Adds logic to identify such fake button press interrupts during headset removal and ignore them Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>