Skip to content

Commit

Permalink
ASoC: wm0010: Report filename when we fail to load firmware
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Charles Keepax authored and Mark Brown committed Mar 29, 2013
1 parent 961b0fc commit 3e112af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/wm0010.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ static int wm0010_firmware_load(const char *name, struct snd_soc_codec *codec)

ret = request_firmware(&fw, name, codec->dev);
if (ret != 0) {
dev_err(codec->dev, "Failed to request application: %d\n",
ret);
dev_err(codec->dev, "Failed to request application(%s): %d\n",
name, ret);
return ret;
}

Expand Down

0 comments on commit 3e112af

Please sign in to comment.