From patchwork Mon Feb 20 18:15:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: BALATON Zoltan X-Patchwork-Id: 655101 Delivered-To: patch@linaro.org Received: by 2002:adf:9bcd:0:0:0:0:0 with SMTP id e13csp1540765wrc; Mon, 20 Feb 2023 10:16:51 -0800 (PST) X-Google-Smtp-Source: AK7set+BHtpxZ8xq5OfPE7pOBjYBsKXePSUVtBvsLT8ucPqDW3Kqoz0iEZ/mLVmPrmjccpzr9ZYf X-Received: by 2002:a05:6214:2a4b:b0:56e:fbd5:8deb with SMTP id jf11-20020a0562142a4b00b0056efbd58debmr3421113qvb.33.1676917011497; Mon, 20 Feb 2023 10:16:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676917011; cv=none; d=google.com; s=arc-20160816; b=fWHiGBaBYyccJMNfTK6fP/OWC2SA2ULGWj82JrnOqKDkOBvykLukkU9iLGKnpedcXm 0gu7w0QQDVSa/HlgAGPSHy1VYfkl2KnrRBlI3ApAbnsU++Gd4zqi9E6Kbu5CBHTy3J1t 2ynE/y0lQkjpZZKOObzKdtWLZl2YzYIEWT21DoFHlEkpX4mvV7+Age2kg/NGQQDWVj+T xwTXn8Y4SM+Ti/660pK92tPotPoKAwpvdnabTQP5ZsfWG5Dk/B5AV/zJuw+Lcz4ly7qp AL2xvDs/edLcanWtGhNPKOnDqdOOPGcvgT4sxL9EbZnsosMwhslmm0avEbRGxnJp87sR 0l2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:date:cc:to :content-transfer-encoding:mime-version:content-transfer-encoding :mime-version:subject:from:references:in-reply-to:message-id; bh=xYTLGdducaz1MkVg1Bdpqq+YQQP7XZwpc+JKSb1r+vc=; b=y+Z+wxAa9hpEWXCWft1lL6RetUfwcANLcWEr8qThTR+EV3GR3TctD2hFN584Ouk53l fKk5eTFcIe/JQKAh8XFWLb/pt6WX0izSd50I5b6CME2DYf7CT2T85aiEm1GuBjJqJN9T qUaSbowvgB0VmRvxpsEv1D0c8wyTqI/UJ6uScTt8MuEVOK0x1X1q6mzPYWr6oBojhBjl CnIQ7URevfj0a8icS+n3m239gnILJ6kV5nu2jO3+qM2WeVIqpiNPOYIch0+XpRRRqoDs Cnttgy6Ji2SCoEYVkKXcyKyFOtOeSkCEKnIkOIIGw8pt6kA8l0JlRaW9SJLBOn10TXJ9 k+eA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=eik.bme.hu Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j10-20020a0cf30a000000b0056f0534e8edsi4439896qvl.197.2023.02.20.10.16.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Feb 2023 10:16:51 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=eik.bme.hu Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUAhf-0006z1-PA; Mon, 20 Feb 2023 13:15:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUAhF-0006Pt-8f for qemu-devel@nongnu.org; Mon, 20 Feb 2023 13:15:36 -0500 Received: from zero.eik.bme.hu ([152.66.115.2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUAhC-0007XJ-JU for qemu-devel@nongnu.org; Mon, 20 Feb 2023 13:15:28 -0500 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id C23CD7470CA; Mon, 20 Feb 2023 19:15:10 +0100 (CET) Received: by zero.eik.bme.hu (Postfix, from userid 432) id A19FF7470C8; Mon, 20 Feb 2023 19:15:10 +0100 (CET) Message-Id: <03599fd4db313ac4f651cceb43340109ad6a14b8.1676916640.git.balaton@eik.bme.hu> In-Reply-To: References: From: BALATON Zoltan Subject: [PATCH v2 7/7] hw/usb/hcd-ohci: Fix typo MIME-Version: 1.0 MIME-Version: 1.0 To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Peter Maydell <"peter.maydell@linaro.org>, philmd"@linaro.org> Date: Mon, 20 Feb 2023 19:15:10 +0100 (CET) X-Spam-Probability: 8% Received-SPF: pass client-ip=152.66.115.2; envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé [balaton: rebased on clean up series] Signed-off-by: BALATON Zoltan --- hw/usb/hcd-ohci.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index 88bd42b14a..98315b2301 100644 --- a/hw/usb/hcd-ohci.c +++ b/hw/usb/hcd-ohci.c @@ -58,7 +58,7 @@ struct ohci_hcca { #define ED_WBACK_OFFSET offsetof(struct ohci_ed, head) #define ED_WBACK_SIZE 4 -/* Bitfields for the first word of an Endpoint Desciptor. */ +/* Bitfields for the first word of an Endpoint Descriptor. */ #define OHCI_ED_FA_SHIFT 0 #define OHCI_ED_FA_MASK (0x7f << OHCI_ED_FA_SHIFT) #define OHCI_ED_EN_SHIFT 7 @@ -71,11 +71,11 @@ struct ohci_hcca { #define OHCI_ED_MPS_SHIFT 16 #define OHCI_ED_MPS_MASK (0x7ff << OHCI_ED_MPS_SHIFT) -/* Flags in the head field of an Endpoint Desciptor. */ +/* Flags in the head field of an Endpoint Descriptor. */ #define OHCI_ED_H 1 #define OHCI_ED_C 2 -/* Bitfields for the first word of a Transfer Desciptor. */ +/* Bitfields for the first word of a Transfer Descriptor. */ #define OHCI_TD_R (1 << 18) #define OHCI_TD_DP_SHIFT 19 #define OHCI_TD_DP_MASK (3 << OHCI_TD_DP_SHIFT) @@ -88,14 +88,14 @@ struct ohci_hcca { #define OHCI_TD_CC_SHIFT 28 #define OHCI_TD_CC_MASK (0xf << OHCI_TD_CC_SHIFT) -/* Bitfields for the first word of an Isochronous Transfer Desciptor. */ -/* CC & DI - same as in the General Transfer Desciptor */ +/* Bitfields for the first word of an Isochronous Transfer Descriptor. */ +/* CC & DI - same as in the General Transfer Descriptor */ #define OHCI_TD_SF_SHIFT 0 #define OHCI_TD_SF_MASK (0xffff << OHCI_TD_SF_SHIFT) #define OHCI_TD_FC_SHIFT 24 #define OHCI_TD_FC_MASK (7 << OHCI_TD_FC_SHIFT) -/* Isochronous Transfer Desciptor - Offset / PacketStatusWord */ +/* Isochronous Transfer Descriptor - Offset / PacketStatusWord */ #define OHCI_TD_PSW_CC_SHIFT 12 #define OHCI_TD_PSW_CC_MASK (0xf << OHCI_TD_PSW_CC_SHIFT) #define OHCI_TD_PSW_SIZE_SHIFT 0