diff options
author | Nikesh Oswal <noswal@nvidia.com> | 2011-09-30 17:27:08 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:49:19 -0800 |
commit | 7510bbfe31a983590f61c381d2a3be13b4a30d49 (patch) | |
tree | 7785a1ed19b412dff7d06c220ebd061f28ff29fd /include/sound | |
parent | 4762c4d4a011fe734d39be9b2a83596ee1ee1553 (diff) |
asoc: max98088: add headset/headphone detection code
Bug: 862023
Change-Id: Ieb9247cef5feecf3e241d8980f9c4376cadf2965
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/55465
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Rebase-Id: Rf725fad369dbbe4d5f6eaa7b667170a127fa0a08
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/max98088.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/max98088.h b/include/sound/max98088.h index c3ba8239182d..9b4fceb360ac 100644 --- a/include/sound/max98088.h +++ b/include/sound/max98088.h @@ -31,6 +31,10 @@ struct max98088_pdata { struct max98088_eq_cfg *eq_cfg; unsigned int eq_cfgcnt; + /* has to be one of 25,50,100 or 200 ms + as per the data sheet */ + unsigned int debounce_time_ms; + /* Receiver output can be configured as power amplifier or LINE out */ /* Set receiver_mode to: * 0 = amplifier output, or |