All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Correct revision display for WM1250-EV1 module
@ 2011-08-14 10:26 Mark Brown
  0 siblings, 0 replies; only message in thread
From: Mark Brown @ 2011-08-14 10:26 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown

The hardware documentation uses revision numbers starting at 1.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm1250-ev1.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm1250-ev1.c b/sound/soc/codecs/wm1250-ev1.c
index a98a3ff1..4523c4c 100644
--- a/sound/soc/codecs/wm1250-ev1.c
+++ b/sound/soc/codecs/wm1250-ev1.c
@@ -74,7 +74,7 @@ static int __devinit wm1250_ev1_probe(struct i2c_client *i2c,
 		return -ENODEV;
 	}
 
-	dev_info(&i2c->dev, "revision %d\n", rev);
+	dev_info(&i2c->dev, "revision %d\n", rev + 1);
 
 	return snd_soc_register_codec(&i2c->dev, &soc_codec_dev_wm1250_ev1,
 				      &wm1250_ev1_dai, 1);
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-14 10:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-14 10:26 [PATCH] ASoC: Correct revision display for WM1250-EV1 module Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.