]> git.baikalelectronics.ru Git - kernel.git/commit
usb gadget zero: split out source/sink config
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 20 Jun 2008 00:55:23 +0000 (17:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:02 +0000 (15:16 -0700)
commit230380b89cf0149a96bc6fa662284d6e3f7386a5
treebd28acffcc157e504e397f0eaba76043f2453f7f
parent11cde7152272c429f6e8540126eafce69fb93355
usb gadget zero: split out source/sink config

This splits the gadget zero "source/sink" configuration into a standalone
"configuration driver", building on the composite gadget framework code.
It doesn't yet pull the original code out of gadget zero or update how
that driver is built.

Neither this, nor its sibling "loopback" configuration, is a function
driver that can be combined with other functions.  (The host "usbtest"
driver wouldn't know how to deal with that!)  However the code becomes
simpler because of this conversion, so it's a net win.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_sourcesink.c [new file with mode: 0644]
drivers/usb/gadget/g_zero.h [new file with mode: 0644]