]> git.baikalelectronics.ru Git - kernel.git/commit
usb: host: fotg210: fix the actual_length of an iso packet
authorKelly Devilliv <kelly.devilliv@gmail.com>
Sun, 27 Jun 2021 12:57:47 +0000 (20:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 10:26:28 +0000 (12:26 +0200)
commitd8ed8c8f898f16ca0da1a14e96bf461f22c26fe4
treecb6d6c0362018887fd45e4e4c5beeed9c8a6ae99
parentcb8a2eb44f2b74f142753deb6dcc37f748f30a10
usb: host: fotg210: fix the actual_length of an iso packet

[ Upstream commit 091cb2f782f32ab68c6f5f326d7868683d3d4875 ]

We should acquire the actual_length of an iso packet
from the iTD directly using FOTG210_ITD_LENGTH() macro.

Signed-off-by: Kelly Devilliv <kelly.devilliv@gmail.com>
Link: https://lore.kernel.org/r/20210627125747.127646-4-kelly.devilliv@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/host/fotg210-hcd.c
drivers/usb/host/fotg210.h