diff options
author | Vijay Mali <vmali@nvidia.com> | 2012-10-17 12:56:06 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-10-25 12:21:39 -0700 |
commit | 5fee35035088c213f03c3a7f3c075ff2c00235a8 (patch) | |
tree | 53bd7f6e6074bb20b7f4c8f209fb05c42fb0fde5 /sound | |
parent | d0cbded837c9cf35dd3b04d5403730219aced5f6 (diff) |
asoc: tegra: Fix headset detection
Increase debounce time. Helps in making correct
decision of headset insert and remove events.
For bug 1060874
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/145165
(cherry picked from commit f62ad8e7f9013169f1e5b8aed833e56c9e4509ff)
Change-Id: Iec7d34b0e2bf0de4bfca31f13818be900ca2188c
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146967
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Tested-by: Vijay Mali <vmali@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/rt5640.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index 22cc413e8efc..786c75f0056b 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c @@ -457,7 +457,7 @@ int rt5640_headset_detect(struct snd_soc_codec *codec, int jack_insert) RT5640_PWR_MB_PU | RT5640_PWR_CLK25M_PU); snd_soc_update_bits(codec, RT5640_DUMMY1, 0x1, 0x1); - msleep(100); + msleep(150); if (snd_soc_read(codec, RT5640_IRQ_CTRL2) & 0x8) jack_type = RT5640_HEADPHO_DET; else |