Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp143690rwb; Thu, 6 Oct 2022 16:02:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6FYEbBqZQKT/wC2Et7OWzsAN7lJvraADSG/ZUc1ie6/FCCOsuAjJpC5MBrjMCjOa0cuGJE X-Received: by 2002:a17:907:7211:b0:78a:fd5:416c with SMTP id dr17-20020a170907721100b0078a0fd5416cmr1736100ejc.485.1665097323855; Thu, 06 Oct 2022 16:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665097323; cv=none; d=google.com; s=arc-20160816; b=jqqnIisvTm5yaLpLbkAhiGmiVUjNo23zHE267y9WN2BV+LX4AgNVBbU4LgjJ5Jr4MI wfkZRCmeil/CTUgBZNJkqBAmZRLyNZ4kGweueshakotSgiaeQCsuUBY2POmlQDR9l8Bs hRUOWF6tXuP+1vZ8UHkR2M3s8NudpMp/UG/CrYtQ0WDxIwDerWhu/4jRNyBW0ApCU4cY 6BDcwpiIz6dfuvrUifrxy8KTLMw6O7GV1t6s9IgC4WR/2d7huKcC1cHSu2iFN1TEXvh7 zwzs972twRMoKD8RrkZwpilaMPXLcAtTBFcarFsnKnvugwmRSirsqX+Tm4xTn1UTIYwt WALQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=fqbQ6GREjxv+KykwM9eHH7kILFgI9OYKNCjFo0/2oBc=; b=XS8G64zSe/cDbm4P29QDKT4uVk/RLAMVS6mRIDGhnjRy7Yi5FWoGHP75llybrBlIaN EbAeclX703TeAiSYlBVhxwvRlpWprNpmvQehwbT8LfUsGR5YTiedlCHRU+25TUY47J37 M9hp/jVpv4kdxCFJqxyDJgGYLPTPHJd/w1x0DRxATX4LFTCNYMThiPkxZ3GhBcLnNLS+ HYkaCsMo4Ggo4iPw1GC30MAx344vVj/IxUu3e61G3rIZgAsN1kMfP3NXnVoulu3gaQK/ 8oZzRHxv1nlmR5XkdxO43ghbnES6tcTQBGI0CgZqoOtcREzzyIXUnc1Ww5w6jN+DpZFj qisg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=WaDlA5Ld; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa37-20020a1709076d2500b0073318653cb0si766548ejc.759.2022.10.06.16.01.28; Thu, 06 Oct 2022 16:02:03 -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=@broadcom.com header.s=google header.b=WaDlA5Ld; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232090AbiJFWIJ (ORCPT + 99 others); Thu, 6 Oct 2022 18:08:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232066AbiJFWIG (ORCPT ); Thu, 6 Oct 2022 18:08:06 -0400 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE27314298B for ; Thu, 6 Oct 2022 15:08:02 -0700 (PDT) Received: by mail-qt1-x829.google.com with SMTP id l27so1867296qtv.4 for ; Thu, 06 Oct 2022 15:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=in-reply-to:from:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=fqbQ6GREjxv+KykwM9eHH7kILFgI9OYKNCjFo0/2oBc=; b=WaDlA5LdGiBh1mzUMjcjVrRIbu7JGgE/LQAYyzNLBPF2ha7ey4RBTuEnFoGFQR2jFD btEJtJor3lqh9IslzfyTsbaNrgUXF80rtmQ5yFNP3noxjw7c2lY/P8DKb0kEE17tEOyG VBSDOoUbmuCULFjBGlPbn3C7ONJq3uyzbuORY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fqbQ6GREjxv+KykwM9eHH7kILFgI9OYKNCjFo0/2oBc=; b=YrEb4emzPMYej+XyqyFW7xbdm8oqpPZHCVrVPNINDxOGcv6MxZK9slvX8t74/wk4sj y2FioKuSMmaH7MCGTvfaT/bHWtKdHmlF6ZXwzsopCD3qxb3yYq49K87MSXGkW+Hd66yB UzBphnD02VXPWfUGr+Aw6PgBKv84hhFnr4pgYDOourP57B0ThDjEivO2kffcgvnZ09Wk 75tKBofWwJEeF33i4aYzePa89Wk1oKTVLhtym3iwwC8geSra9k3hqjFauUqetfn/Ltef x/AzUikrBQJmL2QigBIO2BOpNW3c4t8bJrh1WIFfuBxjJPE39uQfX0Ld+6DnvjNHONGg /Nsw== X-Gm-Message-State: ACrzQf1ckWDb14jpOLS8R0eYOVWXs4LPANvcuEPjd3eeWvHSs1kBpayP tFIWucg+H0spQaOlSkdePwZitA== X-Received: by 2002:a05:622a:50a:b0:35d:5d18:c2a2 with SMTP id l10-20020a05622a050a00b0035d5d18c2a2mr2067245qtx.515.1665094081151; Thu, 06 Oct 2022 15:08:01 -0700 (PDT) Received: from [192.168.1.102] (ip72-194-116-95.oc.oc.cox.net. [72.194.116.95]) by smtp.gmail.com with ESMTPSA id m19-20020a05620a24d300b006cbb8ca04f8sm335401qkn.40.2022.10.06.15.07.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Oct 2022 15:08:00 -0700 (PDT) Message-ID: <3dbb2699-eff3-ea1f-06db-33844074c69f@broadcom.com> Date: Thu, 6 Oct 2022 15:07:58 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH 5/6] phy: usb: Use slow clock for wake enabled suspend To: justinpopo6@gmail.com, alcooperx@gmail.com, kishon@ti.com, vkoul@kernel.org, f.fainelli@gmail.com, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Cc: bcm-kernel-feedback-list@broadcom.com References: <1665005418-15807-1-git-send-email-justinpopo6@gmail.com> <1665005418-15807-6-git-send-email-justinpopo6@gmail.com> From: Florian Fainelli In-Reply-To: <1665005418-15807-6-git-send-email-justinpopo6@gmail.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000003d2ed105ea64ed03" X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 --0000000000003d2ed105ea64ed03 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/5/2022 2:30 PM, justinpopo6@gmail.com wrote: > From: Justin Chen > > The logic was incorrect when switching to slow clock. We want the slow > clock if wake_enabled is set. > > Fixes: ae532b2b7aa5 ("usb: Add "wake on" functionality for newer Synopsis XHCI controllers") > Signed-off-by: Justin Chen Acked-by: Florian Fainelli -- Florian --0000000000003d2ed105ea64ed03 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQeQYJKoZIhvcNAQcCoIIQajCCEGYCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3QMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBDQSAyMDIwMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA vbCmXCcsbZ/a0fRIQMBxp4gJnnyeneFYpEtNydrZZ+GeKSMdHiDgXD1UnRSIudKo+moQ6YlCOu4t rVWO/EiXfYnK7zeop26ry1RpKtogB7/O115zultAz64ydQYLe+a1e/czkALg3sgTcOOcFZTXk38e aqsXsipoX1vsNurqPtnC27TWsA7pk4uKXscFjkeUE8JZu9BDKaswZygxBOPBQBwrA5+20Wxlk6k1 e6EKaaNaNZUy30q3ArEf30ZDpXyfCtiXnupjSK8WU2cK4qsEtj09JS4+mhi0CTCrCnXAzum3tgcH cHRg0prcSzzEUDQWoFxyuqwiwhHu3sPQNmFOMwIDAQABo4IB2jCCAdYwDgYDVR0PAQH/BAQDAgGG MGAGA1UdJQRZMFcGCC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