]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: arizona: Simplify HPDET based identification
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 25 Feb 2013 23:42:31 +0000 (23:42 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 2 Apr 2013 10:54:02 +0000 (11:54 +0100)
commit03e498d912e75eb45dde3bcdc9e7040f3be30552
tree458b02da9a45743fce367c582f35bbf92c7fee24
parent41406c320c8c8663a8e62416caca5614f92539c1
extcon: arizona: Simplify HPDET based identification

Rather than measuring both HP channels we can simply directly measure the
microphone impedance and then rely on MICDET for final confirmation of the
presence of a suitable microphone. This improves the overall performance
of the identification process.

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