[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEnQRZAfBwgfOM6w_azSw4n=qw2Cc2HPHSaTXmFa9LKXM_OQJQ@mail.gmail.com>
Date: Fri, 3 Sep 2021 17:49:38 +0300
From: Daniel Baluta <daniel.baluta@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: Daniel Baluta <daniel.baluta@....nxp.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Liam Girdwood <lgirdwood@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Devicetree List <devicetree@...r.kernel.org>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Kai Vehmanen <kai.vehmanen@...ux.intel.com>,
Shawn Guo <shawnguo@...nel.org>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
dl-linux-imx <linux-imx@....com>, peter.ujfalusi@...ux.intel.com,
Linux-ALSA <alsa-devel@...a-project.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
s-anna@...com, Daniel Baluta <daniel.baluta@....com>
Subject: Re: [PATCH 1/2] ASoC: SOF: imx: Add code to manage DSP related clocks
On Fri, Sep 3, 2021 at 2:27 AM Mark Brown <broonie@...nel.org> wrote:
>
> On Thu, Sep 02, 2021 at 03:32:15PM +0300, Daniel Baluta wrote:
>
> > + for (i = 0; i < clks->num_dsp_clks; i++) {
> > + clks->dsp_clks[i] = devm_clk_get(sdev->dev, clks->dsp_clks_names[i]);
>
> Looks like this could benefit from the use of the clk_bulk_ APIs?
Indeed! I open coded exactly what clk_bulk API is doing! Will use it in v2.
Powered by blists - more mailing lists