SIGN IN SIGN UP

usb_device: Factor out USB interface claim and revision logging

Three USB SPI drivers repeated the same interface-claim bring-up after
opening a libusb handle. Added usb_dev_claim_and_describe() to share it.

Change-Id: Ifb6f0158c4b217533b4625fcee408f25fe5320d8
Signed-off-by: Abdelkader Boudih <coreboot@seuros.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/93829
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
A
Abdelkader Boudih committed
22bf72a7cd2dec6df9831a22cc9b6ece2edebab9
Parent: 04907a5
Committed by Anastasia Klimchuk <aklm@chromium.org> on 7/21/2026, 10:20:13 PM