[PATCH] PXA/EZX: set IRQ_BOARD_END for EZX

2009-06-23 Thread Daniel Ribeiro
Signed-off-by: Daniel Ribeiro --- arch/arm/mach-pxa/Kconfig |1 + arch/arm/mach-pxa/include/mach/irqs.h |2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index f4533f8..73a08e3 100644 --- a/arch/arm/mac

[PATCH 4/4] MFD/PCAP: fix irq bottom handler

2009-06-23 Thread Daniel Ribeiro
Mask interrupts before servicing them and loop while pcap asserts the interrupt line. Signed-off-by: Daniel Ribeiro --- drivers/mfd/ezx-pcap.c | 49 ++- 1 files changed, 27 insertions(+), 22 deletions(-) diff --git a/drivers/mfd/ezx-pcap.c b/driver

[PATCH 3/4] MFD/PCAP: set_ts_bits()

2009-06-23 Thread Daniel Ribeiro
Some TS controller bits are on the same register as the ADC control, save TS specific bits and export a set_ts_bits function so the TS driver can set it with the adc_mutex lock held. Signed-off-by: Daniel Ribeiro --- drivers/mfd/ezx-pcap.c | 22 ++ include/linux/mfd

[PATCH 2/4] MFD/PCAP: irq_to_pcap()

2009-06-23 Thread Daniel Ribeiro
Export an irq_to_pcap function to get pcap irq number, for the keypad driver. Signed-off-by: Daniel Ribeiro --- drivers/mfd/ezx-pcap.c |9 + include/linux/mfd/ezx-pcap.h |1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/ezx-pcap.c b/drivers/m

[PATCH 1/4] MFD/PCAP: fix adc locking

2009-06-23 Thread Daniel Ribeiro
Release the lock on error. Signed-off-by: Daniel Ribeiro --- drivers/mfd/ezx-pcap.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/ezx-pcap.c b/drivers/mfd/ezx-pcap.c index 671a7ef..c1de4af 100644 --- a/drivers/mfd/ezx-pcap.c +++ b/drivers/mfd/ezx-pcap.c