summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2015-07-27 09:51:47 +0300
committerFelipe Balbi <balbi@ti.com>2015-07-27 18:18:06 +0300
commitc41b7767673cb76adeb2b5fde220209f717ea13c (patch)
tree7ce3a4dc3d7ff403967deb6b0dabfc81bcae6fab /tools/perf/scripts/python
parent02c3b4c75994888e58a6e6e8176640cde9822597 (diff)
downloadlinux-c41b7767673cb76adeb2b5fde220209f717ea13c.tar.xz
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: <stable@vger.kernel.org> # v3.18+ Fixes: 9bb87f168931 ("usb: gadget: f_uac2: send reasonably sized packets") Acked-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions