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 X-Spam-Level: X-Spam-Status: No, score=-6.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E02BC4708F for ; Mon, 31 May 2021 08:28:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 549676128D for ; Mon, 31 May 2021 08:28:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230403AbhEaIaf (ORCPT ); Mon, 31 May 2021 04:30:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:38280 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbhEaIaS (ORCPT ); Mon, 31 May 2021 04:30:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 09ECE611EE; Mon, 31 May 2021 08:28:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622449718; bh=CyJbfMGzwJNZlA99CLSRuq+u4eO2mAC1TIdyj8Vg2c4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Yc19KuZdghby4ebCgT8IgUem4RbTm7z710VqZLx649KokwndqDrJbUOJa2QZUr5zh FS2RoHhYXAOHScLRfGXgNRaCaWjD8seNnVMrqu0BXxt3jw+0FDPfMROB/zQ1fzWx8B QuH3szbvhO9WZp90Xzyq7VDtcY3zPE5ibvLju1o5CCS/JJxI40us/t5JzierdtzwDv 5CO32MLUqvNajPf8qhti1IMeBA9TIj4WEBwsD7c8pSBtjJmbnaAnQIS0MGoBSvj6br RPF602gI6acx5wG/fiRy5y8jPOZbQnS6DRzBVkcQpVSqtvsgnfMawyEHJ1lWwPMMGa OhZoozrcqOvkg== Date: Mon, 31 May 2021 13:58:35 +0530 From: Vinod Koul To: Tiezhu Yang Cc: Chunfeng Yun , Kishon Vijay Abraham I , Matthias Brugger , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, lkp@intel.com, Dan Carpenter , Heiko Stuebner , kbuild@lists.01.org Subject: Re: [PATCH v2] phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init() Message-ID: References: <1621420659-15858-1-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1621420659-15858-1-git-send-email-yangtiezhu@loongson.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-05-21, 18:37, Tiezhu Yang wrote: > Use clk_disable_unprepare() in the error path of mtk_phy_init() to fix > some resource leaks. Applied, thanks -- ~Vinod