diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2015-07-03 17:16:35 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-08-11 16:08:42 +0200 |
commit | 6887b042c52ee05a405bae859f410c2f63b45339 (patch) | |
tree | b2d4a8e6a86a6fddff747d7b5d900c30b3f3db5f /drivers/mfd/arizona-irq.c | |
parent | mfd: 880m80x: Make use of BIT() macro (diff) | |
download | linux-6887b042c52ee05a405bae859f410c2f63b45339.tar.xz linux-6887b042c52ee05a405bae859f410c2f63b45339.zip |
mfd: arizona: Add support for WM8998 and WM1814
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/arizona-irq.c')
-rw-r--r-- | drivers/mfd/arizona-irq.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index 2b9965d53e4e..bb0063db6c4e 100644 --- a/drivers/mfd/arizona-irq.c +++ b/drivers/mfd/arizona-irq.c @@ -234,6 +234,15 @@ int arizona_irq_init(struct arizona *arizona) arizona->ctrlif_error = false; break; #endif +#ifdef CONFIG_MFD_WM8998 + case WM8998: + case WM1814: + aod = &wm8998_aod; + irq = &wm8998_irq; + + arizona->ctrlif_error = false; + break; +#endif default: BUG_ON("Unknown Arizona class device" == NULL); return -EINVAL; |