]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Make DSP name configurable by codec driver
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 8 Aug 2018 16:13:39 +0000 (17:13 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 8 Aug 2018 16:32:29 +0000 (17:32 +0100)
commit3ee5836583ceb75c551ee684f3943dfb3943efac
tree02023ce3b25af91a2725dac7489d40b0542200dd
parent7dcd9790e8ecc018c1489c886b03c0c3d264aabd
ASoC: wm_adsp: Make DSP name configurable by codec driver

Instead of harcoding that a core must always be called "DSPn"
add a name member to struct wm_adsp so that the owning codec
driver can provide a custom name. This allows for re-use of
the wm_adsp driver with parts where the processing cores are
named differently.

If no name is provided the default DSPn name is used.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h