]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
usb: gadget: f_uvc: use usb_gstrings_attach
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Mon, 8 Sep 2014 23:02:13 +0000 (02:02 +0300)
committerFelipe Balbi <balbi@ti.com>
Tue, 9 Sep 2014 14:49:44 +0000 (09:49 -0500)
commit13443799b559cde593826091a7de135483b245e5
treef595320cae10beb2e51555adcd7ff448de18bad7
parentcb47d889e651d36b4200800de1d56977b910d8a3
usb: gadget: f_uvc: use usb_gstrings_attach

Attach strings to gadget with usb_strings_attach.
It is required for correct instantiation of functions more than once:
instead of modifying the local uvc_en_us_strings a function instance
specific copy is created with usb_gstrings_attach.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Tested-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_uvc.c