diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-03-26 12:49:15 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-05 14:18:07 -0400 |
commit | c9fbf7e070bbf9cc7adc1420df87706c62cb04ed (patch) | |
tree | 38770c150750f3f11b59643302312762494b546e /drivers/mfd/Kconfig | |
parent | 8c0d8fa26ba5ec1f69e88044c671dab58c51e0e1 (diff) |
mfd: Add WM8994 interrupt controller support
The WM8994 has an interrupt controller which supports interrupts for
both CODEC and GPIO portions of the chip. Support this using genirq,
while allowing for systems that do not have an interrupt hooked up.
Wrapper functions are provided for the IRQ request and free to simplify
the code in consumer drivers when handling cases where IRQs are not
set up.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index b2073e0266f5..de3e74cde51c 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -301,9 +301,9 @@ config MFD_WM8350_I2C | |||
301 | selected to enable support for the functionality of the chip. | 301 | selected to enable support for the functionality of the chip. |
302 | 302 | ||
303 | config MFD_WM8994 | 303 | config MFD_WM8994 |
304 | tristate "Support Wolfson Microelectronics WM8994" | 304 | bool "Support Wolfson Microelectronics WM8994" |
305 | select MFD_CORE | 305 | select MFD_CORE |
306 | depends on I2C | 306 | depends on I2C=y && GENERIC_HARDIRQS |
307 | help | 307 | help |
308 | The WM8994 is a highly integrated hi-fi CODEC designed for | 308 | The WM8994 is a highly integrated hi-fi CODEC designed for |
309 | smartphone applicatiosn. As well as audio functionality it | 309 | smartphone applicatiosn. As well as audio functionality it |