Re: [PATCH 1/2] ASoC: SOF: imx: Add code to manage DSP related clocks
From: Daniel Baluta
Date: Fri Sep 03 2021 - 10:49:54 EST
On Fri, Sep 3, 2021 at 2:27 AM Mark Brown <broonie@xxxxxxxxxx> 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.