diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-25 18:42:31 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-02 06:54:02 -0400 |
commit | 9c2ba270eaa227c999af451e1c2c9bf0d24aa8e5 (patch) | |
tree | 458b02da9a45743fce367c582f35bbf92c7fee24 /include | |
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')
-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 { | |||
128 | /** Use the headphone detect circuit to identify the accessory */ | 128 | /** Use the headphone detect circuit to identify the accessory */ |
129 | bool hpdet_acc_id; | 129 | bool hpdet_acc_id; |
130 | 130 | ||
131 | /** Check for line output with HPDET method */ | ||
132 | bool hpdet_acc_id_line; | ||
133 | |||
131 | /** GPIO used for mic isolation with HPDET */ | 134 | /** GPIO used for mic isolation with HPDET */ |
132 | int hpdet_id_gpio; | 135 | int hpdet_id_gpio; |
133 | 136 | ||