]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: OF: Avoid reverse module dependency
authorDaniel Baluta <daniel.baluta@nxp.com>
Wed, 15 Dec 2021 08:57:03 +0000 (10:57 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 15 Dec 2021 14:02:50 +0000 (14:02 +0000)
commitad48df8878dec1b9d8c6170457f232a4d976cc25
tree7d48bc30412371641bb607b35ed26178f49c8574
parent4d57cfd8bce28ef8c5dcd15dad329a442649af90
ASoC: SOF: OF: Avoid reverse module dependency

Similar with commit 5c7f21840fc6be ("ASoC: SOF: ACPI: avoid reverse
module dependency") we will be having hardware specific drivers that
link against a common "helper" framework.

sof-of-dev.c becomes a library with the interface defined in the newly
created file sof-of-dev.h.

This is the final step started with Kconfig simplification in
commit 718672e2099b8 ("ASoC: SOF: i.MX: simplify Kconfig")

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211215085703.137414-1-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/imx-ops.h [deleted file]
sound/soc/sof/imx/imx8.c
sound/soc/sof/imx/imx8m.c
sound/soc/sof/mediatek/mediatek-ops.h [deleted file]
sound/soc/sof/mediatek/mt8195/mt8195.c
sound/soc/sof/sof-of-dev.c
sound/soc/sof/sof-of-dev.h [new file with mode: 0644]