asoc: codecs: max98088: Headset Detection
authorNikesh Oswal <noswal@nvidia.com>
Fri, 29 Jun 2012 10:56:33 +0000 (15:56 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 16 Jul 2012 12:46:15 +0000 (17:46 +0530)
commite36754427bc092611db0a06af13d4a401338c8d4
tree1368fe73d724181a1e08d0b951d979b8d099ed4b
parentd085e38b76bf36fa887909f400e9ba593465f4a8
asoc: codecs: max98088: Headset Detection

Add code for headset detection according to that
state transitions mentioned for JKSNS field in the
max98088 codec datasheet

Bug: 110529
Bug: 1008246

Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/112127
(cherry picked from commit 12a2259e0e9cf7da4bf64bad2a97c32cec41477c)

Change-Id: I7d45b210dd02f181e71a08d9b3de7cff109dd88b
Reviewed-on: http://git-master/r/114445
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
sound/soc/codecs/max98088.c
sound/soc/codecs/max98088.h