13 Dec, 2011
2 commits
-
Factor out the irq_chip implementation, substantially reducing the code
size for the driver.Signed-off-by: Mark Brown
Acked-by: Samuel Ortiz -
Signed-off-by: Mark Brown
Acked-by: Samuel Oritz
01 Aug, 2011
1 commit
-
This ensures we never have a window where we've handled an interrupt but
not told the hardware about it.Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz
27 Mar, 2011
1 commit
-
Converted with coccinelle.
Signed-off-by: Thomas Gleixner
Acked-by: Mark Brown
Signed-off-by: Samuel Ortiz
23 Mar, 2011
2 commits
-
For consistency with the write path push byte swaps of the WM8994 register
data out of the bulk read data path into the per-register APIs. The only
user of the bulk register read is the interrupt code which is updated to
do the swaps itself part of this patch.Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz -
The WM8994/58 interrupt masking support is a much better match for the genirq
enable and disable operations than for the mask and unmask operations. The
latter are intended to used during interrupt handling for temporary changes
which isn't really practical on a slow bus. Convert the operations over to
match this.Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz
14 Jan, 2011
2 commits
-
Actually makes the code larger rathe rthan smaller but does provide some
isolation against core API changes.Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz -
Kernel 2.6.37 adds new interrupt methods which take a struct irq_data
rather than an irq number. Convert over to these as they will become
mandatory in future.Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz
06 Apr, 2010
1 commit
-
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
Acked-by: Samuel Ortiz