From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5932C433F5 for ; Wed, 13 Apr 2022 10:57:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232604AbiDMK7Z (ORCPT ); Wed, 13 Apr 2022 06:59:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232020AbiDMK7Z (ORCPT ); Wed, 13 Apr 2022 06:59:25 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 86D1C5A163; Wed, 13 Apr 2022 03:57:04 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 527B51595; Wed, 13 Apr 2022 03:57:04 -0700 (PDT) Received: from e123427-lin.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C11093F73B; Wed, 13 Apr 2022 03:57:02 -0700 (PDT) From: Lorenzo Pieralisi To: Johan Hovold , Stanimir Varbanov , Andy Gross , Bjorn Andersson Cc: Lorenzo Pieralisi , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, Dmitry Baryshkov , Bjorn Helgaas , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , linux-kernel@vger.kernel.org, Rob Herring Subject: Re: [PATCH v2] PCI: qcom: Fix pipe clock imbalance Date: Wed, 13 Apr 2022 11:57:01 +0100 Message-Id: <164984714583.9020.940270907096326400.b4-ty@arm.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20220401133351.10113-1-johan+linaro@kernel.org> References: <20220401133351.10113-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Fri, 1 Apr 2022 15:33:51 +0200, Johan Hovold wrote: > Commit ed8cc3b1fc84 ("PCI: qcom: Add support for SDM845 PCIe > controller") introduced a clock imbalance by enabling the pipe clock > both in init() and in post_init() but only disabling in post_deinit(). > > Note that the pipe clock was also never disabled in the init() error > paths and that enabling the clock before powering up the PHY looks > questionable. > > [...] Applied to pci/qcom, thanks! [1/1] PCI: qcom: Fix pipe clock imbalance https://git.kernel.org/lpieralisi/pci/c/dcd9011f59 Thanks, Lorenzo