aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/emul/sandbox_keyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/emul/sandbox_keyb.c')
-rw-r--r--drivers/usb/emul/sandbox_keyb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/emul/sandbox_keyb.c b/drivers/usb/emul/sandbox_keyb.c
index 27359851df8..cff017668f2 100644
--- a/drivers/usb/emul/sandbox_keyb.c
+++ b/drivers/usb/emul/sandbox_keyb.c
@@ -208,8 +208,7 @@ static int sandbox_keyb_bind(struct udevice *dev)
fs[2].id = STRINGID_SERIAL;
fs[2].s = dev->name;
- return usb_emul_setup_device(dev, PACKET_SIZE_8, plat->keyb_strings,
- keyb_desc_list);
+ return usb_emul_setup_device(dev, plat->keyb_strings, keyb_desc_list);
}
static int sandbox_keyb_probe(struct udevice *dev)