mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 04:23:35 +02:00
ASoC: Say how long short WM8958 DSP2 firmwares are
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
1a083257eb
commit
086834e2d2
|
|
@ -55,7 +55,8 @@ static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name,
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (fw->size < 32) {
|
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;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user