aboutsummaryrefslogtreecommitdiffstats
path: root/raiden_debug_spi.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-08-12 15:19:49 +1000
committerAnastasia Klimchuk <aklm@chromium.org>2022-09-07 02:00:15 +0000
commitea938173a40a6fae076f6fc0f37f940eae82d142 (patch)
tree73b73d116685db844c4951c90929d7ccb8df1b58 /raiden_debug_spi.c
parent5c710ea54afabf8c0e5f3c8ada45c4a5f9f0781b (diff)
downloadflashrom-ea938173a40a6fae076f6fc0f37f940eae82d142.tar.gz
flashrom-ea938173a40a6fae076f6fc0f37f940eae82d142.tar.bz2
flashrom-ea938173a40a6fae076f6fc0f37f940eae82d142.zip
usb_device.c: Allow for programmer_cfg plumbing
The only driver impacted is raiden_debug_spi.c and so plumb state directly. Change-Id: I85ff3117de8743b0a548dad98875cc41f48cac93 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66670 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'raiden_debug_spi.c')
-rw-r--r--raiden_debug_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/raiden_debug_spi.c b/raiden_debug_spi.c
index 2f073ae0..161471c1 100644
--- a/raiden_debug_spi.c
+++ b/raiden_debug_spi.c
@@ -1497,7 +1497,7 @@ static int raiden_debug_spi_init(const struct programmer_cfg *cfg)
return 1;
}
- usb_match_init(&match);
+ usb_match_init(cfg, &match);
usb_match_value_default(&match.vid, GOOGLE_VID);
usb_match_value_default(&match.class, LIBUSB_CLASS_VENDOR_SPEC);