mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-03 06:53:18 +02:00
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>
This commit is contained in:

committed by
Anastasia Klimchuk

parent
5c710ea54a
commit
ea938173a4
@ -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);
|
||||
|
Reference in New Issue
Block a user