usb: gadget: uvc: Allow linking XUs to string descriptors

Add .allow_link() and .drop_link() callbacks to allow users to link
an extension unit descriptor to a string descriptor.

Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Link: https://lore.kernel.org/r/20230206161802.892954-9-dan.scally@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Daniel Scally 2023-02-06 16:17:59 +00:00 • committed by Greg Kroah-Hartman
commit 08ddd71bf0
2 changed files with 53 additions and 0 deletions