aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorPavel Hofman <[email protected]>2021-09-06 13:08:22 +0000
committerGreg Kroah-Hartman <[email protected]>2021-09-14 08:32:06 +0000
commitf5dfd98a80ff8d50cf4ae2820857d7f5a46cbab9 (patch)
tree28462ea66891a4aeb7985eac1d2718d0b4f8b3fe /drivers/usb/cdns3/cdns3-gadget.c
parentusb: testusb: Fix for showing the connection speed (diff)
downloadkernel-f5dfd98a80ff8d50cf4ae2820857d7f5a46cbab9.tar.gz
kernel-f5dfd98a80ff8d50cf4ae2820857d7f5a46cbab9.zip
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 <[email protected]> Signed-off-by: Pavel Hofman <[email protected]> Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions