summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_adsp.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-04-13 13:28:05 +0100
committerMark Brown <broonie@kernel.org>2015-04-27 15:38:25 +0100
commitc61e59fe4d3432dd8e63b9613895150eb5054d5e (patch)
tree1cab123e7a2c2a385e6acd458cdff8e290d22e6c /sound/soc/codecs/wm_adsp.c
parentcb5b57a9a449adc7047b709adf25e489785f0bb4 (diff)
downloadlinux-c61e59fe4d3432dd8e63b9613895150eb5054d5e.tar.gz
linux-c61e59fe4d3432dd8e63b9613895150eb5054d5e.tar.bz2
linux-c61e59fe4d3432dd8e63b9613895150eb5054d5e.zip
ASoC: wm_adsp: Warn that firmware file format 0 is depreciated
There are very few version 0 firmwares in the wild and at some point in the future it would be nice to remove support for them from the driver, as they require several work arounds to be present to create controls properly. This patch adds a depreciated warning if someone is using this file format. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.c')
-rw-r--r--sound/soc/codecs/wm_adsp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index 1c45d67cfb4f..00289bfb7617 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -911,6 +911,9 @@ static int wm_adsp_load(struct wm_adsp *dsp)
switch (header->ver) {
case 0:
+ adsp_warn(dsp, "%s: Depreciated file format %d\n",
+ file, header->ver);
+ break;
case 1:
case 2:
break;