Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 860c260d authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Stephen Boyd
Browse files

USB: gadget: Split Target based USB-Gadget driver (tcm_usb_gadget.c)



Split Target based USB-Gadget driver (tcm_usb_gadget.c) into composite
driver (tcm_usb_gadget.c) and Function driver (f_tcm.c).  This is
required for other composite drivers like Android to include Target
based USB function (UASP) along with other functions.

Composite drivers can include f_tcm.c like any other function and
register a callback function.  This callback function is called
when Target Fabric is enabled via configfs.  This callback can be
used to enable enumeration with host.

Change-Id: I36beea07bb3641a224694c157849ecec347d5943
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 02e599b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment