diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-07-15 06:21:48 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-28 06:01:42 -0400 |
commit | 3215501fc90e109c7b854423e02eb05bc638b555 (patch) | |
tree | 60d49ff4ca35532f71a5b1b99030dab7ee42be53 /drivers/mfd/arizona-irq.c | |
parent | c0fe2c5b3f730e3d56d37f7b731a5b1191a4e8bf (diff) |
mfd: wm5110: Add new interrupt register definitions
Newer versions of the IP have a lot of new interrupts and move several
existing interrupts. This patch adds the register definitions and regmap
hookup for these interrupts.
Signed-off-by: Charles Keepax <ckeepax@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 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index 17102f589100..e780bc40165d 100644 --- a/drivers/mfd/arizona-irq.c +++ b/drivers/mfd/arizona-irq.c | |||
@@ -203,7 +203,15 @@ int arizona_irq_init(struct arizona *arizona) | |||
203 | #ifdef CONFIG_MFD_WM5110 | 203 | #ifdef CONFIG_MFD_WM5110 |
204 | case WM5110: | 204 | case WM5110: |
205 | aod = &wm5110_aod; | 205 | aod = &wm5110_aod; |
206 | irq = &wm5110_irq; | 206 | |
207 | switch (arizona->rev) { | ||
208 | case 0 ... 2: | ||
209 | irq = &wm5110_irq; | ||
210 | break; | ||
211 | default: | ||
212 | irq = &wm5110_revd_irq; | ||
213 | break; | ||
214 | } | ||
207 | 215 | ||
208 | ctrlif_error = false; | 216 | ctrlif_error = false; |
209 | break; | 217 | break; |