Rhyland Klein 9dd90c5db0 ASoC: max98095: add jack detection
This change adds the logic to support using the jack detect mechanism built
in to the codec to detect both when a jack was inserted and what type of
jack is present.

This change also supports the use of an external mechanism for headphone
detection. If this mechanism exists, when the max98095_jack_detect function
is called, the hp_jack is simply passed NULL.

This change supports both simple headphones, powered headphones, microphones
and headsets with both headphones and a mic.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-04-01 11:28:24 +01:00
..
2011-03-31 11:26:23 -03:00
2009-01-21 15:12:40 +01:00
2011-08-17 00:53:54 +09:00
2011-05-19 14:10:45 -07:00
2011-03-31 11:26:23 -03:00
2010-05-10 09:49:30 +02:00
2008-01-31 17:29:13 +01:00
2010-12-01 12:14:47 +01:00
2011-03-31 11:26:23 -03:00
2009-02-05 09:17:50 +01:00
2012-01-03 22:54:56 -05:00
2011-09-22 11:19:20 +02:00
2011-12-31 17:53:52 +01:00
2008-11-17 11:45:39 +00:00
2010-10-18 16:46:27 -07:00
2012-04-01 11:28:24 +01:00
2011-02-14 17:10:11 +01:00
2011-07-26 17:21:24 +02:00
2012-03-18 18:22:37 +01:00
2012-02-19 18:36:16 -08:00
2012-01-25 10:19:35 +01:00
2010-02-12 10:31:06 +00:00
2012-01-26 16:07:55 +00:00
2011-09-20 16:02:16 +01:00
2009-12-18 13:06:47 +00:00
2011-08-08 14:30:37 +09:00
2010-04-30 16:12:44 +01:00
2009-11-05 18:10:25 +01:00