Skip to content

Commit

Permalink
ASoC: Say how long short WM8958 DSP2 firmwares are
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Nov 16, 2011
1 parent 1a08325 commit 086834e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/soc/codecs/wm8958-dsp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 086834e

Please sign in to comment.