diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2018-09-20 19:13:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-20 18:47:52 +0100 |
commit | eb9b6c203870dfa917ec28db544e63ee81938107 (patch) | |
tree | 4f36cb93297220f16825b5a154d298a3d0c5762d /drivers/usb/class/usbtmc.c | |
parent | 8ddec6aaad865e70b6e9b47d1b2408767357e2b7 (diff) |
usb: xhci-mtk: fix ISOC error when interval is zero
[ Upstream commit 87173acc0d8f0987bda8827da35fff67f52ad15d ]
If the interval equal zero, needn't round up to power of two
for the number of packets in each ESIT, so fix it.
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/usb/class/usbtmc.c')
0 files changed, 0 insertions, 0 deletions