diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2013-06-13 09:43:29 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-18 00:49:52 +0200 |
commit | dc7d48635dd3c3fd5360238f7d2c697ff13abe7b (patch) | |
tree | 128dcc3bb150a534902473a89b86222e9dcf8dd3 /drivers/mfd/arizona-irq.c | |
parent | f3799e93720b8b722944d86f7a2a0599f5a9d716 (diff) | |
download | op-kernel-dev-dc7d48635dd3c3fd5360238f7d2c697ff13abe7b.zip op-kernel-dev-dc7d48635dd3c3fd5360238f7d2c697ff13abe7b.tar.gz |
mfd: arizona: Integrate wm8997 into Arizona mfd
The wm8997 is a compact, high-performance audio hub CODEC with SLIMbus
interfacing, for smartphones, tablets and other portable audio devices
based on the Arizona platform.
This patch integrates the wm8997 into the Arizona mfd.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/arizona-irq.c')
-rw-r--r-- | drivers/mfd/arizona-irq.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index 64cd9b6..88758ab 100644 --- a/drivers/mfd/arizona-irq.c +++ b/drivers/mfd/arizona-irq.c @@ -208,6 +208,14 @@ int arizona_irq_init(struct arizona *arizona) ctrlif_error = false; break; #endif +#ifdef CONFIG_MFD_WM8997 + case WM8997: + aod = &wm8997_aod; + irq = &wm8997_irq; + + ctrlif_error = false; + break; +#endif default: BUG_ON("Unknown Arizona class device" == NULL); return -EINVAL; |