Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2420690pxj; Mon, 31 May 2021 01:30:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyM3QqC3nRjU3WzUSk6jBc+OKrF5P1gCR92iS0GGkEE3nu2/LwY0nAdreZpVX7PFlDWBZd5 X-Received: by 2002:aa7:db90:: with SMTP id u16mr23822586edt.106.1622449854989; Mon, 31 May 2021 01:30:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622449854; cv=none; d=google.com; s=arc-20160816; b=bk5Id2ajUGREibmomaw7CDh0qhi1nFetRbEZL4gSPasnN8yt6o4TNNw+dByyTu+Jee Lg2t92uYbcFiB8EBGEH2H99v/9EM2nQDLs3DCumzqIyqfH5jSLYg+1ilyIuqY3uvl0uX jSUzd/ndNzYnp4OnceUFqa/NcyDqh4v7tRETFyVNNRVlyWKQLSOWlhgGyx1bA7zL4gpW nF8a4kvjPQnjVyWQN/28qaDZhGCaWE5tHWKKyjM12GHcsAr531+1SEmnas2CZQAUbWN6 BmtGHh+qwjy5khJo4aiyyWWKgIUcUiG0klpQVDpi72KM3Ctld++MzOKyJq/xZj1TwgHH Z/Ug== 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:dkim-signature; bh=Q4dEyeuq1pELhQfJPjuN+dVraWCBi+IK8HkaRuK79pE=; b=fzx+4psdzoZqVlx2FRSLPYS3DOXCOS0gvslWcF+OuDasZ5GaHxP7EL9qJgHHrE+XY6 rW3VWbCU/NjApPtwenaoRokcj+XYFJd+ys9qflNzMf0NiTozIMbEftFGzZ3GQfRKTItQ dOkH4gBJnMHk02SHyYrDc8T2JANhTdSdEjgbOJVSRdHPE9KHeesos4a5Pen2tRuAXLoP 0zraGlSgkpDYUXHZhaECB4UfooWMyW3q/MpbEFFy/EBeQ5e4osuqLlFWs7iKMUkvzEwq x1QdoYx3ePFpwc5gA3/KDSQ067R/55x29fmM513bOzaaFaIMbcufDd25vcslKaV9bUkY u8tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yc19KuZd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si10441575edd.181.2021.05.31.01.30.31; Mon, 31 May 2021 01:30:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yc19KuZd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230384AbhEaIa1 (ORCPT + 99 others); Mon, 31 May 2021 04:30:27 -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