Asoc: ALC5639: Fix headset detection issue.
authorManoj Gangwal <mgangwal@nvidia.com>
Tue, 24 Dec 2013 09:04:12 +0000 (14:04 +0530)
committerSachin Nikam <snikam@nvidia.com>
Mon, 6 Jan 2014 12:00:16 +0000 (04:00 -0800)
commit89fc829e1e5a3a577af9494f70fbc0685c9885ab
tree89207b826bfdc7b343248514c405a136fa9f54d0
parentfa69eb592fc90316aebc138bef49d24b2d8daabc
Asoc: ALC5639: Fix headset detection issue.

Fix race condition occurs when we insert the
headset and immediately start the playback without
waiting for the time required for detection.

Bug 1413012

Change-Id: If7945826374ad2317953dcdf678782119a817ed4
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/349360
Reviewed-by: Scott Peterson <speterson@nvidia.com>
sound/soc/codecs/rt5639.c