[PATCH 1/2] ASoC: SOF: imx: Add code to manage DSP related clocks

Daniel Baluta daniel.baluta at gmail.com
Fri Sep 3 16:49:38 CEST 2021


On Fri, Sep 3, 2021 at 2:27 AM Mark Brown <broonie at kernel.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.


More information about the Alsa-devel mailing list