OSDN Git Service

usb: gadget: f_uac2: Add HS/SS bInterval to configfs
authorPavel Hofman <pavel.hofman@ivitera.com>
Thu, 27 Jan 2022 11:43:28 +0000 (12:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Jan 2022 13:26:18 +0000 (14:26 +0100)
commit4ed941a99996ffeec4b4239df2db82d8b7b183dc
treeaa92fb14ea75d01897436499d7545406b069d779
parente1f09f409f6c80f6044b369b2dcac000d3778d5f
usb: gadget: f_uac2: Add HS/SS bInterval to configfs

Allow configuring the HS/SS bInterval through configfs, via
parameters p_hs_bint/c_hs_bint separately for playback/capture.

The default param values are left at the original 4.

Suggested-by: John Keeping <john@metanate.com>
Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Link: https://lore.kernel.org/r/20220127114331.41367-2-pavel.hofman@ivitera.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/configfs-usb-gadget-uac2
Documentation/usb/gadget-testing.rst
drivers/usb/gadget/function/f_uac2.c
drivers/usb/gadget/function/u_uac2.h