diff options
author | Mark Brown | 2013-02-25 23:42:31 +0000 |
---|---|---|
committer | Mark Brown | 2013-04-02 11:54:02 +0100 |
commit | 9c2ba270eaa227c999af451e1c2c9bf0d24aa8e5 (patch) | |
tree | 458b02da9a45743fce367c582f35bbf92c7fee24 /include/linux/mfd/arizona | |
parent | db924ff5c7297cca85eb0faa79ea29e988f96420 (diff) |
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>
Diffstat (limited to 'include/linux/mfd/arizona')
-rw-r--r-- | include/linux/mfd/arizona/pdata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/arizona/pdata.h b/include/linux/mfd/arizona/pdata.h index 008b8c40549f..45c84777c624 100644 --- a/include/linux/mfd/arizona/pdata.h +++ b/include/linux/mfd/arizona/pdata.h @@ -128,6 +128,9 @@ struct arizona_pdata { /** Use the headphone detect circuit to identify the accessory */ bool hpdet_acc_id; + /** Check for line output with HPDET method */ + bool hpdet_acc_id_line; + /** GPIO used for mic isolation with HPDET */ int hpdet_id_gpio; |