[PATCH v4 01/12] ASoC: qcom: Add common array to initialize soc based core clocks

Stephen Boyd sboyd at kernel.org
Thu Aug 6 02:31:56 CEST 2020


Quoting Rohit kumar (2020-07-22 03:31:44)
> From: Ajit Pandey <ajitp at codeaurora.org>
> 
> LPASS variants have their own soc specific clocks that needs to be
> enabled for MI2S audio support. Added a common variable in drvdata to
> initialize such clocks using bulk clk api. Such clock names is
> defined in variants specific data and needs to fetched during init.

Why not just get all the clks and not even care about the names of them?
Use devm_clk_bulk_get_all() for that, unless some clks need to change
rates?


More information about the Alsa-devel mailing list