summaryrefslogtreecommitdiff
path: root/drivers/usb/emul/usb-emul-uclass.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-09-14 19:56:09 -0400
committerTom Rini <trini@konsulko.com>2019-09-14 19:56:09 -0400
commit6f4001315af2f818bfc656df81e138d1434d1fc2 (patch)
treed5ec9d0a2c49bfa7e6dc144faa59f45588480742 /drivers/usb/emul/usb-emul-uclass.c
parent23b93e33adde0a8313388eda7c78d1d0786e3c92 (diff)
parente3e5825d0143c2b24583d256ef111ae9344382a2 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-usb
- Assorted bugfixes
Diffstat (limited to 'drivers/usb/emul/usb-emul-uclass.c')
-rw-r--r--drivers/usb/emul/usb-emul-uclass.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/emul/usb-emul-uclass.c b/drivers/usb/emul/usb-emul-uclass.c
index 973981545b..50da6bda8e 100644
--- a/drivers/usb/emul/usb-emul-uclass.c
+++ b/drivers/usb/emul/usb-emul-uclass.c
@@ -245,7 +245,8 @@ int usb_emul_bulk(struct udevice *emul, struct usb_device *udev,
}
int usb_emul_int(struct udevice *emul, struct usb_device *udev,
- unsigned long pipe, void *buffer, int length, int interval)
+ unsigned long pipe, void *buffer, int length, int interval,
+ bool nonblock)
{
struct dm_usb_ops *ops = usb_get_emul_ops(emul);
@@ -253,7 +254,8 @@ int usb_emul_int(struct udevice *emul, struct usb_device *udev,
return -ENOSYS;
debug("%s: dev=%s\n", __func__, emul->name);
- return ops->interrupt(emul, udev, pipe, buffer, length, interval);
+ return ops->interrupt(emul, udev, pipe, buffer, length, interval,
+ nonblock);
}
int usb_emul_setup_device(struct udevice *dev, struct usb_string *strings,