Call ftdi_set_interface right after ftdi_init and before ftdi_usb_open
Else libftdi complains that it is impossible to set interface on an already open device since 1c5fa36b67bc30742eee94ed3e3648fcd4640f24 (which will probably end up in libftdi 0.21). Corresponding to flashrom svn r1573. Signed-off-by:Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com> Acked-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Showing
Please register or sign in to comment