diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-09-20 12:34:58 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-02 17:23:04 -0400 |
commit | 3367b8d4278d1f8a28995cc5e57a995f7147cb73 (patch) | |
tree | 7aba159ed2edcc206ec8b4e61de55fb23e59ceb3 /include/sound | |
parent | 205d231bfbd26bb10400518586d2a9f1b62858ee (diff) |
ASoC: Add support for WM8962 GPIO outputs
The WM8962 features five GPIOs, add support for controlling their output
state via gpiolib.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/wm8962.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/wm8962.h b/include/sound/wm8962.h index 9722aac5a138..2b5306c503fb 100644 --- a/include/sound/wm8962.h +++ b/include/sound/wm8962.h | |||
@@ -15,6 +15,7 @@ | |||
15 | #define WM8962_GPIO_SET 0x10000 | 15 | #define WM8962_GPIO_SET 0x10000 |
16 | 16 | ||
17 | struct wm8962_pdata { | 17 | struct wm8962_pdata { |
18 | int gpio_base; | ||
18 | u32 gpio_init[WM8962_MAX_GPIO]; | 19 | u32 gpio_init[WM8962_MAX_GPIO]; |
19 | 20 | ||
20 | /* Setup for microphone detection, raw value to be written to | 21 | /* Setup for microphone detection, raw value to be written to |