ASoC: SOF: debug: Add generic API and ops for DSP regions
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 15 Sep 2021 12:21:12 +0000 (15:21 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 15 Sep 2021 15:25:05 +0000 (16:25 +0100)
commit07e833b473e417f13c5a62aa6f63dbbd3028d277
treecd3a725f4f9cf693a7a3d8ce683ab9a84950cf3c
parent4624bb2f03d3c153e00d21c1baa1da34cfc19afd
ASoC: SOF: debug: Add generic API and ops for DSP regions

Add new debugfs_add_region_item along with a generic wrapper
snd_sof_debugfs_add_region_item() to abstract away the DSP regions related
debugfs support.

At the same commit add iomem based generic implementation for the new ops

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20210915122116.18317-9-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/debug.c
sound/soc/sof/ops.h
sound/soc/sof/sof-priv.h