sandbox: usb: Allow up to 4 emulated devices on a hub
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2015 06:47:54 +0000 (23:47 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:27:51 +0000 (20:27 -0700)
To support more advanced testing, support 4 devices instead of 2.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/emul/sandbox_hub.c

index baf8bdc857b6452315af9c7efec983dd2a1bc06d..624fbdecf1f965bcda9cc4244d21905f06f87af7 100644 (file)
@@ -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;