asoc: codecs: max98088: Headset Detection
authorNikesh Oswal <noswal@nvidia.com>
Fri, 29 Jun 2012 10:56:33 +0000 (15:56 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Thu, 12 Jul 2012 15:32:28 +0000 (08:32 -0700)
commit328ca1a833b594b574b9f4f82a25ba8613bad3e5
treefdd0ee0b539347315e4037f915b7161eb3e2bdb2
parent8f751e925da2510ded1003976186a379853b134e
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