ASoC: Log wm_hubs DC servo operation code when reporting a timeout
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 17 Feb 2011 20:05:46 +0000 (12:05 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 18 Feb 2011 17:14:04 +0000 (09:14 -0800)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm_hubs.c

index 613df5db0b329d338f7f7eec6c16458ffbfe001b..a5c1556e32e65cf4efdd4aa8a15854b5ece25e88 100644 (file)
@@ -82,7 +82,8 @@ static void wait_for_dc_servo(struct snd_soc_codec *codec, unsigned int op)
        } while (reg & op && count < 400);
 
        if (reg & op)
-               dev_err(codec->dev, "Timed out waiting for DC Servo\n");
+               dev_err(codec->dev, "Timed out waiting for DC Servo %x\n",
+                       op);
 }
 
 /*