ASoC: Say how long short WM8958 DSP2 firmwares are
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Nov 2011 13:38:28 +0000 (13:38 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Nov 2011 17:33:58 +0000 (17:33 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8958-dsp2.c

index 0293763debe5811160fb3b7cc23284a91df2a94a..39e9557bdfd72d468a7fbfa53571f9e6758c6beb 100644 (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;
        }