mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00
ft2232_spi: Revise error message
Reword the message and drop the error string from libftdi. It is already printed in send_buf(). Change-Id: I125ae9ec0d5487fc26d588a7fd6c54da4ebd0d70 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55697 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:
parent
e1e0c597db
commit
ae836bd00f
@ -180,8 +180,7 @@ static int ft2232_shutdown(void *data)
|
||||
buf[1] = 0; /* Output byte ignored */
|
||||
buf[2] = 0; /* Pin direction: all inputs */
|
||||
if (send_buf(ftdic, buf, 3)) {
|
||||
msg_perr("Unable to set pins back inputs: (%s)\n",
|
||||
ftdi_get_error_string(ftdic));
|
||||
msg_perr("Unable to set pins back to inputs.\n");
|
||||
ret = 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user