ASoC: wm0010: Report filename when we fail to load firmware
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 29 Mar 2013 09:45:35 +0000 (09:45 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 29 Mar 2013 10:52:09 +0000 (10:52 +0000)
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm0010.c

index 55fdf0f4406c71412704037128dd53f6a414b34f..8df2b6e1a1a6c7fa74cb6cb0b8f94afced8efc2e 100644 (file)
@@ -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;
        }