summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2022-07-16 12:12:50 +0200
committerThomas Heijligen <src@posteo.de>2022-07-26 20:26:20 +0000
commita71b22fba3b7e3e5967aea40a57312702831c483 (patch)
tree1ab5ac1d294b381dcb9f9172499af2c0a7bdafe8 /tests
parent398e2d8420500776fbd3a7dd261918c24fc2ff4d (diff)
downloadflashrom-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 'tests')
0 files changed, 0 insertions, 0 deletions