Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1970534pxb; Sun, 17 Apr 2022 05:28:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgVwOrvMeQllt0LJlzcBaaP7m+/atDVrnVG0GP/ky2q+7ov4nduV3y5xBJyA45+5QDffR1 X-Received: by 2002:aa7:cb96:0:b0:413:8d05:ebc with SMTP id r22-20020aa7cb96000000b004138d050ebcmr7842716edt.81.1650198499829; Sun, 17 Apr 2022 05:28:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650198499; cv=none; d=google.com; s=arc-20160816; b=T3XUk5KxLYETPS5b3mNz8L+1b4AgdpTrcjOu+eYk5Ftp6AqMb3h4piJCNOactH1qjr Xnjy7ngRiMVNYYoX8eEuu++MLvd/N3noS8LJoIPUpO6lSbu8cHX9IPYKl5vLG5vUFkhX kOonooU9Vc3hlvk/q+d9AgP6qGHPueztPcLxGBqejCvhYu98Ee5D0zRzL75eqmFKsqQF R53pVUSlBJtKqBVsFbAlJIS4zhsNPxdBJ7qvbKY+i63aqbtVLXpsPjKXET0EvkWzu+vf xUxW7D8IHtVSxxove+hF1zl+a/VES7Fz7zFxsXqnVnf/Zr2EL2ix3c+8D9zrrH88KFoj 9ZXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=BpOVvGdiVmOkFc6Vxt31zxMLOJ/JVW56iU3zr83wB70=; b=ISs+l7zFgb/EOnmaUIeHqn5MaAVRImhbqnALPzFRJ1aDsU31CH0S5fX/RzkfNFUhlJ rwbqGKk64Q4YmCriRstnL30y+itdNnr2kUQAo9KPTUxrTzHTGbeDMyeQlA4XQ4uVwF+3 iw/wM3bVJR2s3MbLdz7YeqPtHX80VXhkfRIrKGmyc8A/BkMGiRZv3mv+kr0LM8Q8eXJF ISXzi7yLn2VHEW40XpjRzy/+9NbPWP758I8Z7hdEQoI/vdQ3nY6WwTPzSHJ2Y2X8aWVn wxpZNaU5Pwj3hb/fwCYbICNSSvo9RfALdm4HHDbPIjjbW1eNAPzn75e1JwNf40NSCLF/ sCkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XXk60STq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m26-20020a1709060d9a00b006e7fd3f1dd2si4251374eji.1001.2022.04.17.05.27.27; Sun, 17 Apr 2022 05:28:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XXk60STq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230183AbiDPWmH (ORCPT + 99 others); Sat, 16 Apr 2022 18:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230377AbiDPWmE (ORCPT ); Sat, 16 Apr 2022 18:42:04 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4D86637A29 for ; Sat, 16 Apr 2022 15:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650148770; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=BpOVvGdiVmOkFc6Vxt31zxMLOJ/JVW56iU3zr83wB70=; b=XXk60STq4xjlj1hVLCb4QLtjcveCQzcuPj4r+aWCyn168yrli2GSPAnl79MkbEtkvnFVEo nSsi4LNt2ucNgEvxVV+2fSrHw2qvhHKMUShG4Z3ujD455enY69Ce8QNSN0n6GTyu1V7Frv nXSj0PgWGnmiZGEEjYIs6Y904RSX2wk= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-494-4m2TPBcTMEmijyAAiCpr3w-1; Sat, 16 Apr 2022 18:39:28 -0400 X-MC-Unique: 4m2TPBcTMEmijyAAiCpr3w-1 Received: by mail-qk1-f198.google.com with SMTP id l20-20020a05620a28d400b0069c63137970so6872198qkp.10 for ; Sat, 16 Apr 2022 15:39:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BpOVvGdiVmOkFc6Vxt31zxMLOJ/JVW56iU3zr83wB70=; b=ajlbOsb24Aklqo68lv2OyVn6AbFt7VBI5US6vrS8xto4RnIqp0kxAEVlYErXZIfVoW J5h0UkMhcNQwxYSFedMvCEo5e/EOIHyPB2Tvz89wgF2X/0CMAYZ0MA3yEtAWVOIjhfcJ thfPPAagRP3Jr7bWmR6eDiArO9o6EM+owgfzmSou5AFI8QK03SVQtu9QW0U7FxAVlnDy k8sHGTrrHbUSez9qZLUhlCCElB1N1cfqV3nzzB4FBiHzXWc5+08bZFZ0AOB5Cf1twEhQ Rs7ksBrJi0wgZAnBy7Tnwum+02UpBTOvxJLbGWfdGxX7xRi/9y6o5UaOAfTuROH4CfTE NRQw== X-Gm-Message-State: AOAM533IIRHKF7/BBg9aoGgRb8uUkUsak9z1NxI1otkxoQtXGMuS7T76 h8pr+m3gE3j7sGMOSo3x0y0MsGM1AmEkrMbogT423ChVK7hVDy35O0nODS0rdbmExVcDpRkI6Zg M5PnVXlwwABvNw1WetR+z9qV8 X-Received: by 2002:ae9:eb87:0:b0:69e:75b3:6527 with SMTP id b129-20020ae9eb87000000b0069e75b36527mr2243515qkg.386.1650148768198; Sat, 16 Apr 2022 15:39:28 -0700 (PDT) X-Received: by 2002:ae9:eb87:0:b0:69e:75b3:6527 with SMTP id b129-20020ae9eb87000000b0069e75b36527mr2243503qkg.386.1650148767997; Sat, 16 Apr 2022 15:39:27 -0700 (PDT) Received: from dell-per740-01.7a2m.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id 8-20020ac85948000000b002e1cd3fa142sm5346012qtz.92.2022.04.16.15.39.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Apr 2022 15:39:27 -0700 (PDT) From: Tom Rix To: balbi@kernel.org, gregkh@linuxfoundation.org, thierry.reding@gmail.com, jonathanh@nvidia.com, waynec@nvidia.com, rikard.falkeborn@gmail.com, zhangqilong3@huawei.com, jakobkoschel@gmail.com Cc: linux-usb@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] usb: gadget: tegra-xudc: clean up comments Date: Sat, 16 Apr 2022 18:39:21 -0400 Message-Id: <20220416223921.2881719-1-trix@redhat.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Spelling replacements cancelled to canceled endpiont to endpoint Compliance to Compliance Signed-off-by: Tom Rix --- drivers/usb/gadget/udc/tegra-xudc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget/udc/tegra-xudc.c b/drivers/usb/gadget/udc/tegra-xudc.c index d9c406bdb680..0aaf01e1551f 100644 --- a/drivers/usb/gadget/udc/tegra-xudc.c +++ b/drivers/usb/gadget/udc/tegra-xudc.c @@ -1330,7 +1330,7 @@ static void squeeze_transfer_ring(struct tegra_xudc_ep *ep, bool pcs; /* - * Clear out all the TRBs part of or after the cancelled request, + * Clear out all the TRBs part of or after the canceled request, * and must correct trb cycle bit to the last un-enqueued state. */ while (trb != &ep->transfer_ring[ep->enq_ptr]) { @@ -1343,11 +1343,11 @@ static void squeeze_transfer_ring(struct tegra_xudc_ep *ep, trb = ep->transfer_ring; } - /* Requests will be re-queued at the start of the cancelled request. */ + /* Requests will be re-queued at the start of the canceled request. */ ep->enq_ptr = req->first_trb - ep->transfer_ring; /* * Retrieve the correct cycle bit state from the first trb of - * the cancelled request. + * the canceled request. */ ep->pcs = pcs_enq; ep->ring_full = false; @@ -1434,7 +1434,7 @@ __tegra_xudc_ep_dequeue(struct tegra_xudc_ep *ep, return 0; } - /* Halt DMA for this endpiont. */ + /* Halt DMA for this endpoint. */ if (ep_ctx_read_state(ep->context) == EP_STATE_RUNNING) { ep_pause(xudc, ep->index); ep_wait_for_inactive(xudc, ep->index); @@ -3423,7 +3423,7 @@ static void tegra_xudc_device_params_init(struct tegra_xudc *xudc) } /* - * Compliacne suite appears to be violating polling LFPS tBurst max + * Compliance suite appears to be violating polling LFPS tBurst max * of 1.4us. Send 1.45us instead. */ val = xudc_readl(xudc, SSPX_CORE_CNT32); -- 2.27.0