Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7137737rwi; Mon, 24 Oct 2022 10:15:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5dsz3fUHVDW45tnNap2aJiXZshXizNtjOwTRpfdP/CymkqX+LilkpgKwYhavKuAthHnSGk X-Received: by 2002:a17:90b:d88:b0:211:4d8:1c93 with SMTP id bg8-20020a17090b0d8800b0021104d81c93mr29395749pjb.41.1666631717498; Mon, 24 Oct 2022 10:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666631717; cv=none; d=google.com; s=arc-20160816; b=UAaA6m6kDyTkZwlAy2UcAy0aUDnzKl6C3ssQldHvSgK16e+qLbBW99L2YD+Iq27Oym gSuebpVakF2Qyq9sn/De16OBW7HWJeplgKF8TDWgCRODIm95EeJH0MS6v7OYOoZGvcH2 db9Jqu4HGhMdKGssZ/2tsKNCTU2/nZ7OBFvISStTaGre704wQsP3SO1vNHjqjRhRIJPe xTOZGi9BpK9bFbcARiAVOm0Ne0vCyt3IQ+5EPsaeI7sjR44INFrxnFEjFxFACvr6s24i 1URhEB+vNlZAbvdizgrw0hVRjPhDb6ewxoI9XXkzJtxwLt3kgd1dciGmAA4Kpnt00wOa A9cw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=evwbZJi310Rh2Z0NekhGOVQ4nIW0q4SC8jyrlTTRmEk=; b=lyEfLSRjCCu0a8KLC/5Nze3dI4+3mte80FFfRmlnahhwvFn8nkPkKyOVdRVbAD/hU2 chsfkWL2/3CfOamaePaq5BVWmo3cUlapby9lTGN2d4KrVzVn0A+5Fk/N8zimnT1TTUno LriSgdm7UOuVfw8kqPrgDr/ZMD2LlfXHm9c6JlPXU9o+Lh4LRCmR8ncS0rSYrkBmPHvn WYX9xdv9mcGkcaKvoBH6am0g7CAX57d1hRzfnfVCpJML4Hh2+JmJae3PinZDZpxgRCwp kgqnzSKH8LVfZMi/plhad9DTTYswoP+TyuZi9JrUw/EtYhc09r/WbZXcdhejWwZpURE5 Bcrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=u8I56jnp; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15-20020a63f74f000000b004600ab82237si43220pgk.293.2022.10.24.10.15.05; Mon, 24 Oct 2022 10:15:17 -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=@linuxfoundation.org header.s=korg header.b=u8I56jnp; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233413AbiJXQwk (ORCPT + 99 others); Mon, 24 Oct 2022 12:52:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235236AbiJXQtQ (ORCPT ); Mon, 24 Oct 2022 12:49:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6465E0703; Mon, 24 Oct 2022 08:32:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3E262B819B6; Mon, 24 Oct 2022 12:54:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C5C3C433D6; Mon, 24 Oct 2022 12:54:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666616049; bh=eeYR1pQLtcJDxO9LFF9+dLExakAoN06GkoHBkN1iWGI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u8I56jnpgoxwPRXQiqYYLjRBxw+0hMnNfpI0/mooPu4tE8ExBKE3KpginTiU2Flll MHvbcqPKIhkxiz4hGxivGteDlIo1vSagmKU5H/Y6WE/L/oParLzQn7BpPc0iC5SkaT 78JYWX2S21TwP06PoScE9i6jzZ0Z+P4ZvzVdO+aw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Florian Fainelli , Justin Chen , Sasha Levin Subject: [PATCH 5.15 481/530] usb: host: xhci-plat: suspend/resume clks for brcm Date: Mon, 24 Oct 2022 13:33:45 +0200 Message-Id: <20221024113106.827926990@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113044.976326639@linuxfoundation.org> References: <20221024113044.976326639@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 From: Justin Chen [ Upstream commit c69400b09e471a3f1167adead55a808f0da6534a ] The xhci_plat_brcm xhci block can enter suspend with clock disabled to save power and re-enable them on resume. Make use of the XHCI_SUSPEND_RESUME_CLKS quirk to do so. Reviewed-by: Florian Fainelli Signed-off-by: Justin Chen Link: https://lore.kernel.org/r/1660170455-15781-3-git-send-email-justinpopo6@gmail.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/usb/host/xhci-plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 2687662f26b6..972a44b2a7f1 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -134,7 +134,7 @@ static const struct xhci_plat_priv xhci_plat_renesas_rcar_gen3 = { }; static const struct xhci_plat_priv xhci_plat_brcm = { - .quirks = XHCI_RESET_ON_RESUME, + .quirks = XHCI_RESET_ON_RESUME | XHCI_SUSPEND_RESUME_CLKS, }; static const struct of_device_id usb_xhci_of_match[] = { -- 2.35.1