| From 5433d40ad2e432a05413d77baa7a3c0869fcc75c Mon Sep 17 00:00:00 2001 |
| From: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| Date: Sun, 27 Nov 2011 12:11:46 +0000 |
| Subject: ASoC: Remove driver versioning from ak4642 |
| |
| It's never been updated so it can't be that useful and it makes the |
| driver needlessly chatty. |
| |
| Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| (cherry picked from commit 679acec1f240b433dc3879714655b6c6452385ea) |
| |
| Signed-off-by: Simon Horman <horms@verge.net.au> |
| --- |
| sound/soc/codecs/ak4642.c | 4 ---- |
| 1 file changed, 4 deletions(-) |
| |
| diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c |
| index 8a12db4..a04eebf 100644 |
| --- a/sound/soc/codecs/ak4642.c |
| +++ b/sound/soc/codecs/ak4642.c |
| @@ -31,8 +31,6 @@ |
| #include <sound/initval.h> |
| #include <sound/tlv.h> |
| |
| -#define AK4642_VERSION "0.0.1" |
| - |
| #define PW_MGMT1 0x00 |
| #define PW_MGMT2 0x01 |
| #define SG_SL1 0x02 |
| @@ -472,8 +470,6 @@ static int ak4642_probe(struct snd_soc_codec *codec) |
| struct ak4642_priv *ak4642 = snd_soc_codec_get_drvdata(codec); |
| int ret; |
| |
| - dev_info(codec->dev, "AK4642 Audio Codec %s", AK4642_VERSION); |
| - |
| ret = snd_soc_codec_set_cache_io(codec, 8, 8, ak4642->control_type); |
| if (ret < 0) { |
| dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); |
| -- |
| 1.7.10.2.565.gbd578b5 |
| |