X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fusb.c;h=686f09a77d1ec7caf151b21dadaa17ec979f7f4e;hb=b38309b7375e2fa6d99c14f4abd84985dc932ff1;hp=d9bcb5a57e89f5922aaba1e353a120d82490ef34;hpb=a314ec1bfda3d0db0ce8ae02dde1b06650d82e7f;p=oweals%2Fu-boot.git diff --git a/common/usb.c b/common/usb.c index d9bcb5a57e..686f09a77d 100644 --- a/common/usb.c +++ b/common/usb.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -171,6 +172,12 @@ int usb_detect_change(void) return change; } +/* Lock or unlock async schedule on the controller */ +__weak int usb_lock_async(struct usb_device *dev, int lock) +{ + return 0; +} + /* * disables the asynch behaviour of the control message. This is used for data * transfers that uses the exclusiv access to the control and bulk messages.