mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] USB: dummy-hcd: increase max number of devices to 32
@ 2019-10-18 14:55 Andrey Konovalov
  2019-10-18 14:55 ` [PATCH 2/2] USB: dummy-hcd: use usb_urb_dir_in instead of usb_pipein Andrey Konovalov
  2019-10-18 18:06 ` [PATCH 1/2] USB: dummy-hcd: increase max number of devices to 32 Greg Kroah-Hartman
  0 siblings, 2 replies; 4+ messages in thread
From: Andrey Konovalov @ 2019-10-18 14:55 UTC (permalink / raw)
  To: linux-usb, linux-kernel, Greg Kroah-Hartman, Alan Stern
  Cc: Felipe Balbi, Chunfeng Yun, Jacky . Cao @ sony . com,
	Dmitry Vyukov, Andrey Konovalov

This patch increases the maximum number of Dummy UDC/HCD devices to 32.
---
 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/udc/dummy_hcd.c
index 3d499d93c083..a8f1e5707c14 100644
--- a/drivers/usb/gadget/udc/dummy_hcd.c
+++ b/drivers/usb/gadget/udc/dummy_hcd.c
@@ -2725,7 +2725,7 @@ static struct platform_driver dummy_hcd_driver = {
 };
 
 /*-------------------------------------------------------------------------*/
-#define MAX_NUM_UDC	2
+#define MAX_NUM_UDC	32
 static struct platform_device *the_udc_pdev[MAX_NUM_UDC];
 static struct platform_device *the_hcd_pdev[MAX_NUM_UDC];
 
-- 
2.23.0.866.gb869b98d4c-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-21 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-18 14:55 [PATCH 1/2] USB: dummy-hcd: increase max number of devices to 32 Andrey Konovalov
2019-10-18 14:55 ` [PATCH 2/2] USB: dummy-hcd: use usb_urb_dir_in instead of usb_pipein Andrey Konovalov
2019-10-18 18:06 ` [PATCH 1/2] USB: dummy-hcd: increase max number of devices to 32 Greg Kroah-Hartman
2019-10-21 12:35   ` Andrey Konovalov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome