aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Ribeiro <drwyrm@gmail.com>2009-06-23 11:33:10 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2009-09-17 03:46:46 -0400
commitecd78cbdb989fd593bf4fd69cdb572200e70a553 (patch)
treef09604e607e78fea4c42cb2a7ce10e3f627cf87e /include
parent9f7b07d6cc3ed14783c9427a5b2a69794eb2de64 (diff)
mfd: add set_ts_bits for pcap
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 <drwyrm@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/ezx-pcap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/ezx-pcap.h b/include/linux/mfd/ezx-pcap.h
index 6296b4935a1e..b15caacf0720 100644
--- a/include/linux/mfd/ezx-pcap.h
+++ b/include/linux/mfd/ezx-pcap.h
@@ -29,6 +29,7 @@ int pcap_to_irq(struct pcap_chip *, int);
29int irq_to_pcap(struct pcap_chip *, int); 29int irq_to_pcap(struct pcap_chip *, int);
30int pcap_adc_async(struct pcap_chip *, u8, u32, u8[], void *, void *); 30int pcap_adc_async(struct pcap_chip *, u8, u32, u8[], void *, void *);
31int pcap_adc_sync(struct pcap_chip *, u8, u32, u8[], u16[]); 31int pcap_adc_sync(struct pcap_chip *, u8, u32, u8[], u16[]);
32void pcap_set_ts_bits(struct pcap_chip *, u32);
32 33
33#define PCAP_SECOND_PORT 1 34#define PCAP_SECOND_PORT 1
34#define PCAP_CS_AH 2 35#define PCAP_CS_AH 2