ASoC: Allow GPIO jack detection to be configured as a wake source
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 18 Feb 2011 00:35:55 +0000 (16:35 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 18 Feb 2011 17:14:14 +0000 (09:14 -0800)
commit7887ab3a274dc5f1d1d94ca0cd41ae495d01f94f
tree9182cd4d0c2c857688520a50f733d1c9f690039c
parent5a9f91ca7994bd6a7c696fd397716da3bb440921
ASoC: Allow GPIO jack detection to be configured as a wake source

Some systems wish to use jacks as wake sources. Provide a wake flag in the
GPIO configuration which causes the driver to enable the IRQ as a wake
source.

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