asoc: codecs: rt5639/40: Fix false Headset detection
authorManoj Gangwal <mgangwal@nvidia.com>
Fri, 30 Mar 2012 11:04:00 +0000 (16:04 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Mon, 16 Apr 2012 10:50:12 +0000 (03:50 -0700)
commit3b7fa0733088faa77ece950d8367dba5a57b242a
tree2efe9c56cd8ed1a968c58991381fa4eeeb5192c7
parent7f235b5cbe98b822857ba5f2b71bb00bc174f151
asoc: codecs: rt5639/40: Fix false Headset detection

1. Use rt5639/40 internal clk source during jack insert detection.
2. Add delay to 100ms.

Bug 955019

Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/93510
Reviewed-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
(cherry picked from commit 4c07fc1b10ac8abbbf167952071e47aa6179a635)

Change-Id: I4021232674f5432392dc013ddc76c3bf08b44ed0
Reviewed-on: http://git-master/r/95874
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
sound/soc/codecs/rt5639.c
sound/soc/codecs/rt5640.c