ASoC: wm_adsp: Make region identification errors more informative
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 20 Jan 2013 10:02:19 +0000 (19:02 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 20 Jan 2013 13:13:24 +0000 (22:13 +0900)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm_adsp.c

index 9e31162..084ea5f 100644 (file)
@@ -768,7 +768,8 @@ static int wm_adsp_load_coeff(struct wm_adsp *dsp)
                        break;
 
                default:
-                       adsp_err(dsp, "Unknown region type %x\n", type);
+                       adsp_err(dsp, "%s.%d: Unknown region type %x at %d\n",
+                                file, blocks, type, pos);
                        break;
                }