Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1824407lqb; Sun, 26 May 2024 20:44:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURXgW7P+YtGZd8upuhzBNnj/qx0as2H/4GqjlaH78llhDnnORqZ0qBYJ1NTo1R4XmqdgoVEvKZOyOST/44rtytlaPGhEZNQuOyujP1zA== X-Google-Smtp-Source: AGHT+IF1j1eAZkkbPH1kXQ0N7h2Nss1eFWXnmn2myqtaMkJQg0FR85TGYSupWSNzo+mmL0XTGe32 X-Received: by 2002:a17:903:2344:b0:1f2:fbda:8671 with SMTP id d9443c01a7336-1f4486b9c06mr83155515ad.6.1716781444997; Sun, 26 May 2024 20:44:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716781444; cv=pass; d=google.com; s=arc-20160816; b=C5rWqsgbaTixGL58ebSGP1Ntpq4edTkSlpemLOOZUbdlhUxpmUGnUcg52qXCYK9h+H g8cc0muBN2MVg0SN3HAbRys7pQUuy4iZauVIPoKcX1abmqoT8tJXLmEor+OJNxisdRQz 6FoiN8nDJnItQheJL547HK2MjQEJKUMLn+B0VeZfDg+Fjt7c3NdAZpjhMZK4z166R+nA D/rx9mCp3kHqzq+2QIvUozoDXE30vAm+Cj9wi10jMj2wpz2+GSzr2531exBHbpO2WzLS 4/rBpJmnHslq+5+4QC59QUg0ki07tMS3rwdsNZ75JwDsuv7Ibk4S/XXWZxnHmw8FjhGb jGTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=JRrRcXmuLZcVS0a1HI//2b0lm2ojNew43pXaiTtTIT0=; fh=FLmQbsWNGm5KChD7O5x4hgfDzTanCjXbgEIQUpvXi+w=; b=jdi9wqNRxCdu2k/0K34392/GsMSfQYGT91TvflXck5iH4Y8nPeXDZ4rA3qReFoEoGZ OmOjykL0Xv4Bufwf5Vgb05WgQX1ElCN1mEqYg1zMYunodynuES0nfN8pOwC7v2Rp0ctc xlO18FWuxLcglMUvLuhGKXSCv1YhAsEwUyi07Yhz3l5aU+azZ73unfkyl+dEc8OMIR4x gD58Be101J8GZ5AsbyNsHWqtTV0+GI1vg4Rpj410V4JMkqp0zCDi0yR9fIVpQFe3Hcib hUIc8gpjPSAEfxppaMNa0GjaGhnr2HLahOEJiYKpgMHB93mQaYGcbrDawLtQZ/Epwifv iGwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Z5oKuML4; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-189991-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c998bcfsi54005935ad.392.2024.05.26.20.44.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 20:44:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189991-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Z5oKuML4; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-189991-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 80FCEB20F1C for ; Mon, 27 May 2024 03:43:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48E4D8C07; Mon, 27 May 2024 03:43:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Z5oKuML4" Received: from mail-il1-f175.google.com (mail-il1-f175.google.com [209.85.166.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D47D4C85; Mon, 27 May 2024 03:43:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716781421; cv=none; b=tMjDYA4beERmCQe5biVDLyty2/E1alwkmABAC6bYe1CtlT4wVnrIQ9MiiQe2Xdi8b6cd3xR7YRZuxijbpvOp8uNBqtvriYL1LCFBKg6sFCDECXmmznpQmP4AEWogoIAHJV+4A77hf1blrurQdVG9d76ZmYEbzh0nUNjfZZAhh70= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716781421; c=relaxed/simple; bh=53XFiw3wcH5MEHYvmgoOoQBcB9x5uThYREaPmL4h+tI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=kpXzzQcGz14V0/R0CtUDL37T8f3JQzo/xX6WKrJqpqZ0HJYSP40pLbFpQfonlhghl7kEpjrG4pakRlavO3M57eOKrQoRkGGFdRpN/6HiLqZOfApoe/ednxYdi7AHBpOP0/WNWHZMeCqzWuvP9DhWTz9ut0hGKkma4osmIOQchr4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Z5oKuML4; arc=none smtp.client-ip=209.85.166.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f175.google.com with SMTP id e9e14a558f8ab-3737b281d89so13548525ab.0; Sun, 26 May 2024 20:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716781419; x=1717386219; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JRrRcXmuLZcVS0a1HI//2b0lm2ojNew43pXaiTtTIT0=; b=Z5oKuML4msXzlF0gJWN8Gr/LCqzyGTGj7bmkLAczzn4ykIpoBk64OLOu/UiD0wAsQz EZyWvjKOlY1zE7KUWDVqHRLpZ9CMhKc2EsxDellGShNCpC9KxfewtzrPWZdA0X8+vcSw DzhgpZ8z9eWPBVEMqkdojlBXKMLRDPUFUHFEP4qqmPP94PKWxplu+zUpdkWNkHKVqKB1 Sp25yMMknNqcJfGUthnXLjp3yAgu7ig+TcSqoA5D+tMOd/ZTXd0JUs9Iw8TUjMYcTxfk +d9Te43YrWhG+67YiWFno9cKYANztXmWfBOrBm7Jb5PcVtclvftJ5rDBiuuZBNLPvu88 CqKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716781419; x=1717386219; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JRrRcXmuLZcVS0a1HI//2b0lm2ojNew43pXaiTtTIT0=; b=RHADU8GqFXDXXj7Qsw53KNFnbDp7O5TS84CGTr56WAfK3YzVPT2bgBqnb6N0iUlQc9 nYxhf01HvhL5s/ooPq/t903ePXpEBEGpceEBpGy4wimKPxZqL2LFGY2N1dB4m2MpEAgr N0MFQCveVh3/3vyl9RXo2DX4bXBrSg2637t3FBOZiG+O8FacRz/Uslwrp8nHwpXdDXkP hRDaE5o1ppxbMmOa2lmF6wEs9NaHieGL1Q1JWX5+u/QVi0R9drvbbxv2ZrOyKAwFfXtY wug3GE1+nQYt0UzSMfxSmV8/N6Q1VDi6G8KkGaoyoMX4mnZplsfzYly3VUNtNo37CIj1 e9+Q== X-Forwarded-Encrypted: i=1; AJvYcCUO28xAHfh6WfoKYO1xtM7k5llEk+KhmfOk8JCFD7ostNPvIOVKIpHCZXWMqWHxh2rtC4ppiBBk256AVfE0L/GHWArsdqw7orVWUDd5zbqlsICWUun+W+jrhXuhovwhQJMYi2hP6rl6SvBb5veq6pKByR4b3ZU9E23tSUC/M9OoSEfkGtvf7A+ameY/zVc2nB6P48P4/eSmJrcT4ohvAV2BrIcvKg== X-Gm-Message-State: AOJu0YzoOt56PxQGGg1NTjr7yK+8M3svxb8CT9SzxYoC6+fmS1SpDA/2 vu45D88Tia3Z7S/q6TvMej8F93doGBkoRLQYSreODjQdP+4GmwpURp9lf9YFO7DDYuZaCusVmBo 9gw5+nH11NSDe1n9XiF+ePHPg3dE= X-Received: by 2002:a05:6e02:1c07:b0:371:252c:d8f6 with SMTP id e9e14a558f8ab-3737b3032f7mr94193515ab.11.1716781419196; Sun, 26 May 2024 20:43:39 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <1716458390-20120-3-git-send-email-shengjiu.wang@nxp.com> <4c53b063-ad12-405d-b088-9b992284ba08@web.de> In-Reply-To: <4c53b063-ad12-405d-b088-9b992284ba08@web.de> From: Shengjiu Wang Date: Mon, 27 May 2024 11:43:28 +0800 Message-ID: Subject: Re: [PATCH v5 2/5] clk: imx: clk-audiomix: Add reset controller To: Markus Elfring Cc: Shengjiu Wang , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-janitors@vger.kernel.org, imx@lists.linux.dev, Abel Vesa , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Marek Vasut , Michael Turquette , Peng Fan , Philipp Zabel , Sascha Hauer , Shawn Guo , Stephen Boyd , Rob Herring , LKML , kernel@pengutronix.de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 25, 2024 at 3:27=E2=80=AFPM Markus Elfring wrote: > > =E2=80=A6 > > The reset controller is supported by the auxiliary device > > framework. > > Would you like to add an imperative wording for an improved change descri= ption? > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/D= ocumentation/process/submitting-patches.rst?h=3Dv6.9#n94 ok, will update it. > > > =E2=80=A6 > > +++ b/drivers/clk/imx/clk-imx8mp-audiomix.c > =E2=80=A6 > > +static int clk_imx8mp_audiomix_reset_controller_register(struct device= *dev, > > + struct clk_imx8m= p_audiomix_priv *priv) > > +{ > > + struct auxiliary_device __free(kfree) * adev =3D NULL; > > + int ret; > > + > > + adev =3D kzalloc(sizeof(*adev), GFP_KERNEL); > =E2=80=A6 > > May the following source code variant be applied here? > > int ret; > struct auxiliary_device __free(kfree) *adev =3D kzalloc(sizeof(*a= dev), GFP_KERNEL); ok, will update it. best regards Shengjiu Wang > > > Regards, > Markus