diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2022-08-25 13:41:14 +0200 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2023-04-12 09:32:25 +0000 |
commit | cb85aec5cec75e5750a1d846411d8a42bf1b9f7b (patch) | |
tree | d1e67f23c4b06572dd958f275e20a584e878e0e2 /stm50.c | |
parent | 3eaef7528b622955a48611fdc0801ca853665efd (diff) | |
download | flashrom-cb85aec5cec75e5750a1d846411d8a42bf1b9f7b.tar.gz flashrom-cb85aec5cec75e5750a1d846411d8a42bf1b9f7b.tar.bz2 flashrom-cb85aec5cec75e5750a1d846411d8a42bf1b9f7b.zip |
usb_device.c: detach/attach usb kernel driver explicitly
Use `libusb_detach_kernel_driver` and `libusb_attach_kernel_driver`
instead of `libusb_auto_detach_kernel_driver` to be compatible with
older libusb versions without changing the behavior.
TEST=Build with libusb >= 1.0.9
Change-Id: I1363fea13368b7ac1e9a3829864d06d123c4e157
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/67073
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'stm50.c')
0 files changed, 0 insertions, 0 deletions