git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a886436
)
FT2232H: Handle suspend_pull_downs when encoding
author
Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de>
Wed, 15 Sep 2010 15:31:01 +0000 (17:31 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 20 Sep 2010 13:34:45 +0000 (15:34 +0200)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
61b7a75
..
16af24e
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-2586,6
+2586,11
@@
int ftdi_eeprom_build(struct ftdi_context *ftdi)
else
output[0x01] &= ~SUSPEND_DBUS7;
+ if (eeprom->suspend_pull_downs == 1)
+ output[0x0A] |= 0x4;
+ else
+ output[0x0A] &= ~0x4;
+
if(eeprom->group0_drive > DRIVE_16MA)
output[0x0c] |= DRIVE_16MA;
else