Browse Source

ASoC: wm_adsp: Make region identification errors more informative

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 12 years ago
parent
commit
25c62f7e70
1 changed files with 2 additions and 1 deletions
  1. 2 1
      sound/soc/codecs/wm_adsp.c

+ 2 - 1
sound/soc/codecs/wm_adsp.c

@@ -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;
 		}