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=-11.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 AFD19C4320A for ; Mon, 23 Aug 2021 06:40:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 973B160FD9 for ; Mon, 23 Aug 2021 06:40:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234129AbhHWGlW (ORCPT ); Mon, 23 Aug 2021 02:41:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231715AbhHWGlU (ORCPT ); Mon, 23 Aug 2021 02:41:20 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6CFCC061756 for ; Sun, 22 Aug 2021 23:40:38 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id y7so29631028ljp.3 for ; Sun, 22 Aug 2021 23:40:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dOSScg11+0lHrDw6MS1CV2sNd8OdE1zWDqg1qjqqW2Y=; b=PYypPGwhJKWIPHwv0PNNxvgnPr8zgWPvGUeVW/uOkbS0Yv1LkNwjUiYPwyaBu+NxwW dYV+82j3pW0jpoHiJeHbehsfiEC8JgTXafrSgSTiLwmlPR+F4eg9qpAJg72XDqbx9Mvc gvHQPEr4y/JXHUQ4fJSKsQdp9nRZWGHp+2Lh0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dOSScg11+0lHrDw6MS1CV2sNd8OdE1zWDqg1qjqqW2Y=; b=FiXZT+rR9IKz7VI71o13hbMB36f5h8ODtmvBk9d/nM60fJCRrlEgasai430UhkDgSe eyy6iazprIL15A5TQtQwPqARKVjUMzVqFYOeRKIMiUac8Jmvy61r9ZLEhSQu6rqnvEgI 8WnEv4H393TPfTEMUkek7d/EROYV06hnxhbye/gfqF5OHCucnspf8cuEaGuuYTkl6uMO hVi5wtqOGUYLVj7N4JG5rZNUE2YAiJFT9K7J6O+vDFnSQI7chkZK81aXRhasuKxx+TkK ErpRQO1zRu3pnI6k+g06VlZ2D9axCdsepUZp8Wu/bGB3yHzl8lWYVp/7c36y7q1Lf58Q tiag== X-Gm-Message-State: AOAM5334NV2L8s/BgSmVbspCOeI9r8dfC3oHWJm5orMBQcUNP+63Ynwc oHxJTlrEzzMdchw4fJthuxKyLdW9vNAyrMCasxVREg== X-Google-Smtp-Source: ABdhPJzCaNaaScS5j8xwc/H16iJK+VtsRDRaMiPRceRnRRAxbyhImqfGwZYwLIHLdB0yA9X834FjhBCHEBgVDLi4C9I= X-Received: by 2002:a2e:b0e2:: with SMTP id h2mr25865507ljl.23.1629700837011; Sun, 22 Aug 2021 23:40:37 -0700 (PDT) MIME-Version: 1.0 References: <20210820111504.350-1-chun-jie.chen@mediatek.com> <20210820111504.350-5-chun-jie.chen@mediatek.com> In-Reply-To: <20210820111504.350-5-chun-jie.chen@mediatek.com> From: Chen-Yu Tsai Date: Mon, 23 Aug 2021 14:40:26 +0800 Message-ID: Subject: Re: [v2 04/24] clk: mediatek: Add API for clock resource recycle To: Chun-Jie Chen Cc: Matthias Brugger , Stephen Boyd , Nicolas Boichat , Rob Herring , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , LKML , "moderated list:ARM/Mediatek SoC support" , linux-clk@vger.kernel.org, Devicetree List , srv_heupstream , Project_Global_Chrome_Upstream_Group Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 20, 2021 at 7:18 PM Chun-Jie Chen wrote: > > In order to avoid resource leak when fail clock registartion appears, Typo. Please fix if you respin a new version. > so add the common interface to handle it. > > Signed-off-by: Chun-Jie Chen Reviewed-by: Chen-Yu Tsai