[pacina] Set FTDI latency timer to 2 ms

Latency timer in the FTDI chips measures the time since data was last
sent to the PC. The timer default is set to 16 ms. Every time data is
sent back to the PC the timer is reset. If it times-out then the PAC
chip will send back the 2 status bytes and any data that is held in the
buffer.

Reducing the value to 2ms yields ~7x performance improvement

BUG=b:332820385
TEST=Ran pacina script on our CPD setup

Change-Id: Ib33ba8e8e8d27d5d879514a5327ec26ba9b158ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/5545181
Reviewed-by: Stanisław Kardach <skardach@google.com>
Auto-Submit: Mateusz Urbańczyk <urbanczyk@google.com>
Commit-Queue: Mateusz Urbańczyk <urbanczyk@google.com>
Tested-by: Mateusz Urbańczyk <urbanczyk@google.com>
Reviewed-by: Nancy Zhao <zhaon@google.com>
1 file changed