mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-03 01:02:56 +00:00
parent
68ec33b0d3
commit
c6e4f5914e
@ -410,8 +410,10 @@ struct Usb::Block_driver : Usb::Completion,
|
|||||||
iface.control_transfer(p, 0x21, 0xff, 0, active_interface, 100);
|
iface.control_transfer(p, 0x21, 0xff, 0, active_interface, 100);
|
||||||
if (!p.succeded) {
|
if (!p.succeded) {
|
||||||
Genode::error("Could not reset device");
|
Genode::error("Could not reset device");
|
||||||
|
iface.release(p);
|
||||||
throw -1;
|
throw -1;
|
||||||
}
|
}
|
||||||
|
iface.release(p);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Let us do GetMaxLUN and simply ignore the return value because none
|
* Let us do GetMaxLUN and simply ignore the return value because none
|
||||||
|
Loading…
x
Reference in New Issue
Block a user