git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fa3032f
)
Fix FT232H eeprom suspend pulldown setting
author
Davide Michelizza
<dmichelizza@gmail.com>
Wed, 23 Oct 2013 14:01:55 +0000 (16:01 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Wed, 23 Oct 2013 14:01:55 +0000 (16:01 +0200)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
26b1707
..
90dfae5
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-3015,6
+3015,12
@@
int ftdi_eeprom_build(struct ftdi_context *ftdi)
output[0x01] |= POWER_SAVE_DISABLE_H;
else
output[0x01] &= ~POWER_SAVE_DISABLE_H;
+
+ if (eeprom->suspend_pull_downs)
+ output[0x0a] |= 0x4;
+ else
+ output[0x0a] &= ~0x4;
+
if (eeprom->clock_polarity)
output[0x01] |= FT1284_CLK_IDLE_STATE;
else