diff options
author | Andrzej Pietrasiewicz | 2014-07-22 19:58:35 +0200 |
---|---|---|
committer | Felipe Balbi | 2014-08-20 14:04:42 -0500 |
commit | 3aeea3c53e73b972ff07a1d03d6cc07f97de4f2f (patch) | |
tree | e05e46602c596d7b717f5db3bfb93894f782baef /drivers/usb/gadget/function/u_uac2.h | |
parent | 065a107cdd70f0621011424009b3ecd4e42481b1 (diff) |
usb: gadget: f_uac2: add configfs support
Add support for using f_uac2 function as a component of a gadget
composed with configfs.
Tested-by: Sebastian Reimers <sebastian.reimers@googlemail.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/function/u_uac2.h')
-rw-r--r-- | drivers/usb/gadget/function/u_uac2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/function/u_uac2.h b/drivers/usb/gadget/function/u_uac2.h index ed7f7361a53e..78dd37279bd4 100644 --- a/drivers/usb/gadget/function/u_uac2.h +++ b/drivers/usb/gadget/function/u_uac2.h @@ -34,6 +34,9 @@ struct f_uac2_opts { int c_srate; int c_ssize; bool bound; + + struct mutex lock; + int refcnt; }; #endif |