commit | 87092e3ca4ff7b2c2d7723b3402fe2f74b249bc4 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Feb 06 18:50:39 2012 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Feb 06 19:06:19 2012 +0000 |
tree | df6e8a54dc9dd10dd5869735dd0095a41fba5ade | |
parent | 27060b3c64a1b9bc0b60c27da6153cf78919fa72 [diff] |
ASoC: wm8994: Bring WM8994 accessory detection up to date Make the mechanism used for WM8994 more like that for WM1811 and WM8958: provide the logic to distinguish between headphone and headset and hard code the reporting of sensible SND_JACK values. Should integration with other detection mechanisms be required we can add appropriate callbacks (though some integrations should be able to use the subsystem ones). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>