OSDN Git Service

ASoC: SOF: sof-of-dev: Add .arch_ops field
authorIulian Olaru <iulianolaru249@yahoo.com>
Tue, 25 Aug 2020 23:50:40 +0000 (16:50 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 26 Aug 2020 12:19:16 +0000 (13:19 +0100)
commit5a1fa00ad74bd5e77feab84a6d64c06f267df415
treef40c55ebf8799869f809512f95505417515a3bde
parent17b3f99a360d76fed46e7ec1e12d6670bd7ca884
ASoC: SOF: sof-of-dev: Add .arch_ops field

Add .arch_ops field in the sof_imx8x_ops structure.
The inclusion of this field will allow the usage of functions from
sof/core.c in order to print debug information such as the registers and
a stack dump in case of a firmware ops.

The SND_SOC_SOF_XTENSA is added in the imx/Kconfig file so the compilation
is successful.

Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20200825235040.1586478-8-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/Kconfig
sound/soc/sof/imx/imx8.c
sound/soc/sof/imx/imx8m.c