Explorar o código

ASoC: wm_adsp: Make region identification errors more informative

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown %!s(int64=12) %!d(string=hai) anos
pai
achega
25c62f7e70
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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;
 		}