Skip to content

Commit

Permalink
vhci: add address_device timeout arg
Browse files Browse the repository at this point in the history
currently we don't do anything with the timeout so that may need to be fixed for upstreaming, but it is unlikely to be critical for now.
  • Loading branch information
Redecorating authored Mar 14, 2024
1 parent a1e826b commit bd8a7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1001-Add-apple-bce-driver.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5269,7 +5269,7 @@ index 000000000..053a9f39e
+ return 0;
+}
+
+static int bce_vhci_address_device(struct usb_hcd *hcd, struct usb_device *udev)
+static int bce_vhci_address_device(struct usb_hcd *hcd, struct usb_device *udev, unsigned int timeout_ms) //TODO: follow timeout
+{
+ /* This is the same as enable_device, but instead in the old scheme */
+ return bce_vhci_enable_device(hcd, udev);
Expand Down

0 comments on commit bd8a7dd

Please sign in to comment.