diff options
author | Prasad J Pandit <pjp@fedoraproject.org> | 2020-09-15 23:52:59 +0530 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-21 09:44:54 +0200 |
commit | 1be90ebecc95b09a2ee5af3f60c412b45a766c4f (patch) | |
tree | 43161ab3ee0d96c5dc1e695ab6a1bc83078a5a36 /include | |
parent | 1328fe0c32d5474604105b8105310e944976b058 (diff) | |
download | qemu-1be90ebecc95b09a2ee5af3f60c412b45a766c4f.zip qemu-1be90ebecc95b09a2ee5af3f60c412b45a766c4f.tar.gz qemu-1be90ebecc95b09a2ee5af3f60c412b45a766c4f.tar.bz2 |
hw: usb: hcd-ohci: check for processed TD before retire
While servicing OHCI transfer descriptors(TD), ohci_service_iso_td
retires a TD if it has passed its time frame. It does not check if
the TD was already processed once and holds an error code in TD_CC.
It may happen if the TD list has a loop. Add check to avoid an
infinite loop condition.
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-id: 20200915182259.68522-3-ppandit@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions