summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorPavel Hofman <pavel.hofman@ivitera.com>2021-09-06 15:08:22 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-14 10:32:06 +0200
commitf5dfd98a80ff8d50cf4ae2820857d7f5a46cbab9 (patch)
tree28462ea66891a4aeb7985eac1d2718d0b4f8b3fe /drivers/usb/cdns3/cdns3-gadget.c
parentf81c08f897adafd2ed43f86f00207ff929f0b2eb (diff)
usb: gadget: u_audio: EP-OUT bInterval in fback frequency
The patch increases the bitshift in feedback frequency calculation with EP-OUT bInterval value. Tests have revealed that Win10 and OSX UAC2 drivers require the feedback frequency to be based on the actual packet interval instead of on the USB2 microframe. Otherwise they ignore the feedback value. Linux snd-usb-audio driver detects the applied bitshift automatically. Tested-by: Henrik Enquist <henrik.enquist@gmail.com> Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210906130822.12256-1-pavel.hofman@ivitera.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions