diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-21 09:28:49 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-21 09:35:07 -0500 |
commit | 39639faba98eafeb327a30bc10b7d921c398a59a (patch) | |
tree | 4d41f68b995f9cd4fa70cf7a616379a9325a29a7 /sound/soc/codecs | |
parent | 0e734ad5d16ad1d87a428a30d117bb3541a8e24d (diff) |
ASoC: Improve error reporting for AC97 reset failures
Print something a bit more verbose to help make errors a little more
obvious.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/ad1980.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm9712.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm9713.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/ad1980.c b/sound/soc/codecs/ad1980.c index 410fed953c54..1a3ea059a6dc 100644 --- a/sound/soc/codecs/ad1980.c +++ b/sound/soc/codecs/ad1980.c | |||
@@ -238,7 +238,7 @@ static int ad1980_soc_probe(struct platform_device *pdev) | |||
238 | 238 | ||
239 | ret = ad1980_reset(codec, 0); | 239 | ret = ad1980_reset(codec, 0); |
240 | if (ret < 0) { | 240 | if (ret < 0) { |
241 | printk(KERN_ERR "AC97 link error\n"); | 241 | printk(KERN_ERR "Failed to reset AD1980: AC97 link error\n"); |
242 | goto reset_err; | 242 | goto reset_err; |
243 | } | 243 | } |
244 | 244 | ||
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c index 81c38e7ad344..6e3e0f340179 100644 --- a/sound/soc/codecs/wm9712.c +++ b/sound/soc/codecs/wm9712.c | |||
@@ -690,7 +690,7 @@ static int wm9712_soc_probe(struct platform_device *pdev) | |||
690 | 690 | ||
691 | ret = wm9712_reset(codec, 0); | 691 | ret = wm9712_reset(codec, 0); |
692 | if (ret < 0) { | 692 | if (ret < 0) { |
693 | printk(KERN_ERR "AC97 link error\n"); | 693 | printk(KERN_ERR "Failed to reset WM9712: AC97 link error\n"); |
694 | goto reset_err; | 694 | goto reset_err; |
695 | } | 695 | } |
696 | 696 | ||
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c index a0cc5ac969a1..7be811a3b02a 100644 --- a/sound/soc/codecs/wm9713.c +++ b/sound/soc/codecs/wm9713.c | |||
@@ -1243,7 +1243,7 @@ static int wm9713_soc_probe(struct platform_device *pdev) | |||
1243 | wm9713_reset(codec, 0); | 1243 | wm9713_reset(codec, 0); |
1244 | ret = wm9713_reset(codec, 1); | 1244 | ret = wm9713_reset(codec, 1); |
1245 | if (ret < 0) { | 1245 | if (ret < 0) { |
1246 | printk(KERN_ERR "AC97 link error\n"); | 1246 | printk(KERN_ERR "Failed to reset WM9713: AC97 link error\n"); |
1247 | goto reset_err; | 1247 | goto reset_err; |
1248 | } | 1248 | } |
1249 | 1249 | ||