summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@fifi.denx.de>2006-06-16 16:14:28 +0200
committerWolfgang Denk <wd@fifi.denx.de>2006-06-16 16:14:28 +0200
commitcebd1fcec0f7a484ca7e8ecce76c6d9c211368ec (patch)
treed49f75070d6edabecb0fad3ee1ca712d513e4955 /board
parentcd65a3dc872407e6278062246a4eb5e10f180d7e (diff)
downloadu-boot-imx-cebd1fcec0f7a484ca7e8ecce76c6d9c211368ec.zip
u-boot-imx-cebd1fcec0f7a484ca7e8ecce76c6d9c211368ec.tar.gz
u-boot-imx-cebd1fcec0f7a484ca7e8ecce76c6d9c211368ec.tar.bz2
Fix TRAB channel switching delay for trab_fkt.bin standalone applikation
Patch by Martin Krause, 08 Nov 2005 In tsc2000_read_channel() the delay after setting the multiplexer to a temperature channel is increased from 1,5 ms to 10 ms. This is to allow the multiplexer inputs to stabilize after huge steps of the input signal level.
Diffstat (limited to 'board')
-rw-r--r--board/trab/tsc2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/trab/tsc2000.c b/board/trab/tsc2000.c
index ca68682..382a85b 100644
--- a/board/trab/tsc2000.c
+++ b/board/trab/tsc2000.c
@@ -223,7 +223,7 @@ u16 tsc2000_read_channel (unsigned int channel)
u16 res;
tsc2000_set_mux(channel);
- udelay(3 * TSC2000_DELAY_BASE);
+ udelay(20 * TSC2000_DELAY_BASE);
tsc2000_write(TSC2000_REG_ADC, 0x2036);
adc_wait_conversion_done ();