mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-28 21:46:02 -04:00
extcon: arizona: Support additional configuration of microphone detection
Allow systems to tune detection rate and debounce suitably for their mechanical parameters. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -111,6 +111,12 @@ struct arizona_pdata {
|
||||
/** Mic detect ramp rate */
|
||||
int micd_bias_start_time;
|
||||
|
||||
/** Mic detect sample rate */
|
||||
int micd_rate;
|
||||
|
||||
/** Mic detect debounce level */
|
||||
int micd_dbtime;
|
||||
|
||||
/** Headset polarity configurations */
|
||||
struct arizona_micd_config *micd_configs;
|
||||
int num_micd_configs;
|
||||
|
||||
Reference in New Issue
Block a user