ASoC: Allow more WM8958/WM1811 button levels with default handler
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 30 Nov 2011 10:55:14 +0000 (10:55 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 1 Dec 2011 14:21:51 +0000 (14:21 +0000)
commit4585790d1cde32a5719c24412e9845e031358e08
tree1350ab58fb4fa2611c45c96da0c0daa6143b4096
parent604533de0f60c3be6ae99fdaf44d1d79f38b307e
ASoC: Allow more WM8958/WM1811 button levels with default handler

The WM8958 and WM1811 support detecting a range of buttons. Allow the
user to provide platform data enabling more of these levels without
having to write a custom detection handler.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/mfd/wm8994/pdata.h
sound/soc/codecs/wm8994.c
sound/soc/codecs/wm8994.h