diff options
author | Angel Pons <th3fanbus@gmail.com> | 2022-07-16 12:12:50 +0200 |
---|---|---|
committer | Thomas Heijligen <src@posteo.de> | 2022-07-26 20:26:20 +0000 |
commit | a71b22fba3b7e3e5967aea40a57312702831c483 (patch) | |
tree | 1ab5ac1d294b381dcb9f9172499af2c0a7bdafe8 /util/git-hooks/install.sh | |
parent | 398e2d8420500776fbd3a7dd261918c24fc2ff4d (diff) | |
download | flashrom-a71b22fba3b7e3e5967aea40a57312702831c483.tar.gz flashrom-a71b22fba3b7e3e5967aea40a57312702831c483.tar.bz2 flashrom-a71b22fba3b7e3e5967aea40a57312702831c483.zip |
pickit2_spi.c: Add `pickit2_interrupt_transfer()` helper
Introduce the `pickit2_interrupt_transfer()` helper function to simplify
calls to the `libusb_interrupt_transfer()` function, as the last three
arguments are always the same: two constants and an unused output value.
Change-Id: I7ff704243b63a7ea2872fbc6e596190573dc13f6
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65915
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'util/git-hooks/install.sh')
0 files changed, 0 insertions, 0 deletions