]> asedeno.scripts.mit.edu Git - linux.git/commit
Revert "usb: gadget: allow to enable legacy drivers without USB_ETH"
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 12 Dec 2017 10:44:40 +0000 (12:44 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 12 Dec 2017 10:48:30 +0000 (12:48 +0200)
commit9dbe416b656bb015fc49fc17961000ffa418838a
tree7cffac986c159a5ba91cb36343da5c1eec06aaf1
parent54eed78c5c831ba696259f7fa69966d699a173b1
Revert "usb: gadget: allow to enable legacy drivers without USB_ETH"

This reverts commit 7a9618a22aadffb55027d665491adf466bced61a.

Romain Izard recently reported that commit 7a9618a22aad ended up
allowing every legacy gadget driver to statically linked to the
kernel, however that doesn't work, since only one legacy gadget can be
bound to a controller. Because of that, let's revert the original commit
and fix the problem.

Reported-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/legacy/Kconfig