usbd: add workaround code