From 80438a6c71b95b2749bdf5c58f7ff26f2907f3d5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 8 Nov 2015 23:47:54 -0700 Subject: sandbox: usb: Allow up to 4 emulated devices on a hub To support more advanced testing, support 4 devices instead of 2. Signed-off-by: Simon Glass --- drivers/usb/emul/sandbox_hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/usb') diff --git a/drivers/usb/emul/sandbox_hub.c b/drivers/usb/emul/sandbox_hub.c index baf8bdc857..624fbdecf1 100644 --- a/drivers/usb/emul/sandbox_hub.c +++ b/drivers/usb/emul/sandbox_hub.c @@ -13,7 +13,7 @@ DECLARE_GLOBAL_DATA_PTR; /* We only support up to 8 */ -#define SANDBOX_NUM_PORTS 2 +#define SANDBOX_NUM_PORTS 4 struct sandbox_hub_platdata { struct usb_dev_platdata plat; -- cgit v1.2.3