diff options
author | Peter Chen <[email protected]> | 2015-07-27 14:51:47 +0800 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2015-07-27 10:18:06 -0500 |
commit | c41b7767673cb76adeb2b5fde220209f717ea13c (patch) | |
tree | 7ce3a4dc3d7ff403967deb6b0dabfc81bcae6fab /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 02c3b4c75994888e58a6e6e8176640cde9822597 (diff) |
usb: gadget: f_uac2: fix calculation of uac2->p_interval
The p_interval should be less if the 'bInterval' at the descriptor
is larger, eg, if 'bInterval' is 5 for HS, the p_interval should be
8000 / 16 = 500.
It fixes the patch 9bb87f168931 ("usb: gadget: f_uac2: send
reasonably sized packets")
Cc: <[email protected]> # v3.18+
Fixes: 9bb87f168931 ("usb: gadget: f_uac2: send reasonably sized packets")
Acked-by: Daniel Mack <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions