ASoC: wm_adsp: factor out getting region name from type
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Wed, 9 Nov 2016 17:14:15 +0000 (17:14 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 11 Nov 2016 15:57:55 +0000 (15:57 +0000)
commit9ce5e6e61122cdd6556d4e61657aa47b207042a1
tree45b83a6d6c62a57589d3aff9837167d1bc08c6b4
parentf4f0c4c60c3959a8f3650850b799049161732e91
ASoC: wm_adsp: factor out getting region name from type

This patch factors out converting a memory region type into
a name string, mainly so that it can be used in log commands.

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