ASoC: Add jack_status_check callback function for GPIO jacks
authorJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 12 Nov 2009 08:14:04 +0000 (17:14 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 12 Nov 2009 16:45:53 +0000 (16:45 +0000)
commitc871a05315d1a76034ea06feeda92081e1d608bf
treec19ab719a75eeeac84843aa76a69ceba03fa9328
parentf773205300fa4a5a405f8ed6e3bb97e46c6eefb4
ASoC: Add jack_status_check callback function for GPIO jacks

The jack_status_check callback function is the interface to check the
status of the jack. Some target provides the method to distinguish what
is the jack inserted - headphone jack, microphone jack, tvout jack, etc,
so we can implement it using the jack_status_check function.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h
sound/soc/soc-jack.c