ASoC: SOF: imx: drop usage of the imx8_*_clocks API
authorLaurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Thu, 28 Mar 2024 22:12:00 +0000 (00:12 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2024 12:09:47 +0000 (13:09 +0100)
commita358f67d16942f3bbc4d6b0e4b65efd5dda1c304
treef3d8908fc96595585aad429618d42db967056995
parent5faf65b5d1e36ec0a1eb3ba8ba2a8b7a779575ce
ASoC: SOF: imx: drop usage of the imx8_*_clocks API

Currently, the driver has to keep track of all the clocks
it uses via an array of "struct clk_bulk_data", which doesn't
scale well and is unnecessary. As such, replace the usage of
the imx8_*_clocks with "devm_clk_bulk_get_all()" and friends.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://msgid.link/r/20240328221201.24722-2-laurentiumihalcea111@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/imx8.c
sound/soc/sof/imx/imx8m.c
sound/soc/sof/imx/imx8ulp.c