ASoC: Say how long short WM8958 DSP2 firmwares are

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Mark Brown 2011-11-16 13:38:28 +00:00
parent 1a083257eb
commit 086834e2d2
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name,
return 0;
if (fw->size < 32) {
dev_err(codec->dev, "%s: firmware too short\n", name);
dev_err(codec->dev, "%s: firmware too short (%d bytes)\n",
name, fw->size);
goto err;
}