summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/max98088.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/max98088.c')
-rw-r--r--sound/soc/codecs/max98088.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c
index a905182f6193..9d3f8b9c0c37 100644
--- a/sound/soc/codecs/max98088.c
+++ b/sound/soc/codecs/max98088.c
@@ -2164,6 +2164,10 @@ static int max98088_probe(struct platform_device *pdev)
snd_soc_update_bits(codec, M98088_REG_0F_IRQ_ENABLE,
M98088_REG_0F_IRQ_ENABLE_IJDET,
M98088_REG_0F_IRQ_ENABLE_IJDET);
+ /* Setting Debounce time to 200msec */
+ snd_soc_update_bits(codec, M98088_REG_4B_CFG_JACKDET,
+ M98088_REG_4B_CFG_JACKDET_JDEB,
+ M98088_REG_4B_CFG_JACKDET_JDEB);
max98088_handle_pdata(codec);