commit | b1b459ce0eb5e36848014195de3741e6794dc4ce | [log] [tgz] |
---|---|---|
author | Alex Badea <vamposdecampos@gmail.com> | Wed Nov 10 03:22:39 2010 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Wed Nov 10 03:22:39 2010 +0000 |
tree | 7d0939e37c2027618eeb7813bd2c61a3b2dd10e8 | |
parent | 0b94d05c23e29cf630cff8cc3b10366d700cffeb [diff] |
Use device-specific vendor ID in ftdi_usb_open() call ft2232_spi ftdi_usb_open() is called with the constant FTDI_VID vendor ID. Fix it by using the programmer-type-dependent ft2232_vid variable, to allow programmers with other vendor IDs. Corresponding to flashrom svn r1230. Signed-off-by: Alex Badea <vamposdecampos@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>