summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-26 16:49:15 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-04-05 19:18:07 +0100
commitc9fbf7e070bbf9cc7adc1420df87706c62cb04ed (patch)
tree38770c150750f3f11b59643302312762494b546e /drivers/mfd/Kconfig
parent8c0d8fa26ba5ec1f69e88044c671dab58c51e0e1 (diff)
downloadop-kernel-dev-c9fbf7e070bbf9cc7adc1420df87706c62cb04ed.zip
op-kernel-dev-c9fbf7e070bbf9cc7adc1420df87706c62cb04ed.tar.gz
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/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index b2073e0..de3e74c 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -301,9 +301,9 @@ config MFD_WM8350_I2C
selected to enable support for the functionality of the chip.
config MFD_WM8994
- tristate "Support Wolfson Microelectronics WM8994"
+ bool "Support Wolfson Microelectronics WM8994"
select MFD_CORE
- depends on I2C
+ depends on I2C=y && GENERIC_HARDIRQS
help
The WM8994 is a highly integrated hi-fi CODEC designed for
smartphone applicatiosn. As well as audio functionality it
OpenPOWER on IntegriCloud