Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp16234195rwd; Mon, 26 Jun 2023 07:27:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6t6831wrZ6y2xehSiiuV3vtffUU1HBtCmg4tzzo4piPKMeQ2OGD8n1CeIV+PxXRF/jr7dN X-Received: by 2002:a05:6830:130e:b0:6b2:9447:8c83 with SMTP id p14-20020a056830130e00b006b294478c83mr26902583otq.25.1687789638168; Mon, 26 Jun 2023 07:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687789638; cv=none; d=google.com; s=arc-20160816; b=Smme3URhPSgyhIsPONRIlR2q9xO/0uHJjAen613l1PqPIa6VMCBTO6i1ughvbP+eix B77WRxg+4QeyB8PZbGPUDoJyMPt6ju0o0bhI64jh94aJ3ASrMAG/MkruNEM6n3dpaPUZ Q1ckOgrBWBcGuRQtoUaZS93B1lt5GvAjlxTbdjpJv7BXtJcz31E9UmEt3V5X4dpEH72/ NxByStwlb64Fi69XFzIjqAAYAhrtDRcU8G4SqLCMYm8CpiFT+3BeItANKWT+v4urjrJP iQtggriLIDAdCOk6ZwiiXR55Yt3dXAJuhFTDAlSK43YXCHC9m4joc1H1dHGKPQciHlsT iBJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=bE+mXUUO7g+tpMjh6bBeg8OznDMlKNVotY/yuvVGpAo=; fh=YbSK8HHyO/Stm/2hnktMekoLLI8c6cewIW6GSrZwdP0=; b=x4RDtfaPSmzpRWpQjKMhTk1GmHW3LkCmzXfmVHJhRpL/ilWOMFQAewu17kvAhQmtTM 7ySU03ZBmzGKAvVMbV/E40oLSFZbJdlzURoNVsWqXmBukPkMfmVZQCD/V743ldfaoCK1 sR/bl2mm1Hi+kWleExVOTFWn7LtmReKQx4TuW0xmlTGzj7TNLMvtDp72lRwhQnsxd5wY UZu7mlrS2VF7dYOnEw/iqWC6PTdYl3HL4OsJy3u9z37ifathkcltQ1iE129/sE4GxxiA wV2VmiM1HJc7ZpKOdV/kwdlnstTpW6T9ux2mdU4xGLWEdBDJXQ80IWZLOaFrYIt7fskh A+wA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a63574b000000b0055aeedd94d3si982199pgm.58.2023.06.26.07.27.05; Mon, 26 Jun 2023 07:27:18 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231582AbjFZOTA (ORCPT + 99 others); Mon, 26 Jun 2023 10:19:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231614AbjFZOSj (ORCPT ); Mon, 26 Jun 2023 10:18:39 -0400 Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 61AB92722 for ; Mon, 26 Jun 2023 07:17:53 -0700 (PDT) Received: (qmail 834137 invoked by uid 1000); 26 Jun 2023 10:16:44 -0400 Date: Mon, 26 Jun 2023 10:16:44 -0400 From: Alan Stern To: Guiting Shen Cc: gregkh@linuxfoundation.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] usb: ohci-at91: Fix the unhandle interrupt when resume Message-ID: <1f33966d-3bc5-4ca3-bb6c-6e1d838c57f7@rowland.harvard.edu> References: <20230625161553.11073-1-aarongt.shen@gmail.com> <552b1ac6-2149-48fa-9432-49655bfbc366@rowland.harvard.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 On Mon, Jun 26, 2023 at 10:28:26AM +0800, Guiting Shen wrote: > On Mon, Jun 26, 2023 at 04:04:29AM GMT+8, Alan Stern wrote: > > This comment doesn't say why the code uses !ohci_at91->wakeup. It > > should explain that. For example: > > > > /* > > * According to the comment in ohci_hcd_at91_drv_suspend() > > * we need to do a reset if the 48-MHz clock was stopped, > > * that is, if ohci_at91->wakeup is clear. Tell ohci_resume() > > * to reset in this case by setting its "hibernated" flag. > > */ > > > > Ok, Thank you! > Do I send the v3 patch after the merge window close? You can send the patch at any time. It doesn't matter whether the merge window is open or closed. Alan Stern