mfd: add set_ts_bits for pcap
authorDaniel Ribeiro <drwyrm@gmail.com>
Tue, 23 Jun 2009 15:33:10 +0000 (12:33 -0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:46:46 +0000 (09:46 +0200)
commitecd78cbdb989fd593bf4fd69cdb572200e70a553
treef09604e607e78fea4c42cb2a7ce10e3f627cf87e
parent9f7b07d6cc3ed14783c9427a5b2a69794eb2de64
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>
drivers/mfd/ezx-pcap.c
include/linux/mfd/ezx-pcap.h