From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGDME-0007GX-Ns for qemu-devel@nongnu.org; Sat, 09 Aug 2014 16:35:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XGDM5-00026G-3D for qemu-devel@nongnu.org; Sat, 09 Aug 2014 16:35:18 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:54886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGDM4-00025z-So for qemu-devel@nongnu.org; Sat, 09 Aug 2014 16:35:09 -0400 Received: by mail-wi0-f175.google.com with SMTP id ho1so2538370wib.8 for ; Sat, 09 Aug 2014 13:35:08 -0700 (PDT) From: Jack Un Date: Sat, 9 Aug 2014 23:34:36 +0300 Message-Id: <1407616476-6181-2-git-send-email-jack.un@gmail.com> In-Reply-To: <1407616476-6181-1-git-send-email-jack.un@gmail.com> References: <1407616476-6181-1-git-send-email-jack.un@gmail.com> Subject: [Qemu-devel] [PATCH] Fix OHCI ISO TD state never being written back. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kraxel@redhat.com, Jack Un Signed-off-by: Jack Un --- hw/usb/hcd-ohci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index 13afdf5..cacf7b0 100644 --- a/hw/usb/hcd-ohci.c +++ b/hw/usb/hcd-ohci.c @@ -619,8 +619,8 @@ static inline int ohci_put_td(OHCIState *ohci, static inline int ohci_put_iso_td(OHCIState *ohci, dma_addr_t addr, struct ohci_iso_td *td) { - return put_dwords(ohci, addr, (uint32_t *)td, 4 || - put_words(ohci, addr + 16, td->offset, 8)); + return put_dwords(ohci, addr, (uint32_t *)td, 4) || + put_words(ohci, addr + 16, td->offset, 8); } static inline int ohci_put_hcca(OHCIState *ohci, -- 2.0.4