Patch "usb: gadget: legacy gadgets are optional" has been added to the 4.11-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
usb: gadget: legacy gadgets are optional
to the 4.11-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
usb-gadget-legacy-gadgets-are-optional.patch
and it can be found in the queue-4.11 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
6e253d0fbc665b36192b8ed3cecdbb65b413a1ebMon Sep 17 00:00:00 2001
From: Romain Izard <[email protected]>
Date: Fri, 10 Mar 2017 14:11:41 +0100
Subject: usb: gadget: legacy gadgets are optional
From: Romain Izard <[email protected]>
commit 6e253d0fbc665b36192b8ed3cecdbb65b413a1eb upstream.
With commit bc49d1d17dcf ("usb: gadget: don't couple configfs to legacy gadgets"),it is possible to build a modular kernel with both built-in configfs support and modular legacy gadget drivers.
But when building a kernel without modules, it is also necessary to be able to build with configfs but without any legacy gadget driver. This was a possible configuration when the USB_CONFIGFS was a part of the choice options, but not anymore.
Mark the choice for legacy gadget drivers as optional restores this.
--- drivers/usb/gadget/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/usb/gadget/Kconfig +1 -0
@@ -460,6 +460,7 @@ config USB_CONFIGFS_F_TCM choice tristate "USB Gadget Drivers" default USB_ETH + optional help A Linux "Gadget Driver" talks to the USB Peripheral Controller driver through the abstract "gadget" API. Some other operating
Patches currently in stable-queue which might be from [email protected] are
queue-4.11/usb-gadget-legacy-gadgets-are-optional.patch