1
0
Fork 0
alistair23-linux/drivers/usb/gadget
Andrzej Pietrasiewicz 5d73abf2a7 usb: gadget: audio: Use container_of to free audio_dev
Eliminate static struct *agdev_g from f_uac2.c.
It is used for freeing its memory, but the same address can be found
by calling container_of in afunc_unbind(). This implies eliminating
uac2_unbind_config(). The audio_config_driver in audio.c does not have
its unbind method any more. It has been used only when uac2 is used,
so uac2 itself can handle unbinding in afunc_unbind().

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>
2014-08-20 14:04:02 -05:00
..
function usb: gadget: audio: Use container_of to free audio_dev 2014-08-20 14:04:02 -05:00
legacy usb: gadget: audio: Use container_of to free audio_dev 2014-08-20 14:04:02 -05:00
udc usb: gadget: Remove redundant dev_err call in r8a66597_sudmac_ioremap() 2014-08-20 12:14:46 -05:00
Kconfig usb: gadget: Gadget directory cleanup - group UDC drivers 2014-07-16 12:15:28 -05:00
Makefile usb: gadget: Gadget directory cleanup - group usb functions 2014-07-16 12:50:36 -05:00
composite.c usb: gadget: composite: dequeue cdev->req before free it in composite_dev_cleanup 2014-07-16 10:05:01 -05:00
config.c usb: gadget: always update HS/SS descriptors and create a copy of them 2012-10-31 15:09:44 +02:00
configfs.c usb: patches for v3.17 merge window 2014-07-21 11:33:41 -07:00
configfs.h usb: gadget: OS descriptors: provide interface directory names 2014-06-19 10:06:48 -05:00
epautoconf.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
functions.c usb: gadget: add a forward pointer from usb_function to its "instance" 2013-01-21 20:52:46 +02:00
u_f.c usb: gadget: only GPL drivers in the gadget and phy framework 2014-04-21 14:07:12 -05:00
u_f.h usb: gadget: FunctionFS: share VLA macros with all usb gadget files 2014-05-14 09:37:27 -05:00
u_os_desc.h usb: gadget: u_os_desc: helper functions for accessing ext prop buffer 2014-07-10 08:36:51 -05:00
usbstring.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00