commit | 41a57850b5e5c450da351465efcc41383def7f8a | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Apr 01 19:18:18 2013 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Apr 02 11:54:05 2013 +0100 |
tree | 99e49c35c4d9e65b09011eb6c6d23e78f1a30b97 | |
parent | 939c5671d11d86ae783f416b703c705647ac563b [diff] |
extcon: arizona: Clear existing button reports before reporting new one If the user moves directly from one button to another then we won't get a no buttons pressed event and will therefore end up reporting that two buttons are simultaneously pressed which isn't supported by the hardware. Make sure we clear any existing button reports before reporting any new ones. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>