Skip to contentSkip to conversation

usb gadget: don't build small version if usbgadgetfs is selected

PATCH In review Milan Svoboda 1 participant 1 message May 25, 2006 USB

lore
Share & tools
lore
#0 lore raw

PATCH 5/5 usb gadget: don't build small version if usbgadgetfs is selected

From: Milan Svoboda <[email protected]>

usbgadgetfs allows userspace to open as many enpoints as it needs. It's not good to limit number of endpoints by the udc driver in this case.

This patch is against 2.6.16.13.

---

drivers/usb/gadget/Kconfig +1 -0
@@ -117,6 +117,7 @@ config USB_PXA2XX_SMALL
 	depends on USB_GADGET_PXA2XX
 	bool
 	default n if USB_ETH_RNDIS
+	default n if USB_GADGETFS
 	default y if USB_ZERO
 	default y if USB_ETH
 	default y if USB_G_SERIAL