diff options
| author | Sudheer Papothi <spapothi@codeaurora.org> | 2016-04-14 01:03:12 +0530 |
|---|---|---|
| committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-04-22 11:57:40 -0700 |
| commit | b9990820a69dbe6b6ef9ffb327f4a63b35042dc3 (patch) | |
| tree | 8dbf115a6b83426fd1fb664266acb4de09d796fa /include/linux | |
| parent | 078e42ca28008b4a0afd053d5ee849fc396cc875 (diff) | |
drivers: mfd: Allocate and register irq domain for codec interrupts
During codec interrupt controller probe, allocate and register
irq domain for codec interrupts for mapping between hwirq and
irq numbers.
Change-Id: I3e32043499f2b1e2616cf74864969815e626a23b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rwxr-xr-x | include/linux/mfd/wcd9xxx/core.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/linux/mfd/wcd9xxx/core.h b/include/linux/mfd/wcd9xxx/core.h index eed0328b3f59..e0abd4285753 100755 --- a/include/linux/mfd/wcd9xxx/core.h +++ b/include/linux/mfd/wcd9xxx/core.h @@ -319,21 +319,12 @@ int wcd9xxx_slim_bulk_write(struct wcd9xxx *wcd9xxx, struct wcd9xxx_reg_val *bulk_reg, unsigned int size, bool interface); -#if defined(CONFIG_WCD9310_CODEC) || \ - defined(CONFIG_WCD9304_CODEC) || \ - defined(CONFIG_WCD9320_CODEC) || \ - defined(CONFIG_WCD9330_CODEC) || \ - defined(CONFIG_WCD9335_CODEC) || \ - defined(CONFIG_WCD9306_CODEC) -int __init wcd9xxx_irq_of_init(struct device_node *node, - struct device_node *parent); -#else static inline int __init wcd9xxx_irq_of_init(struct device_node *node, struct device_node *parent) { return 0; } -#endif /* CONFIG_OF */ + static inline void wcd9xxx_reg_update(struct wcd9xxx *core, unsigned short reg, u8 mask, u8 val) |
