summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8974.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-06-30 19:37:02 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-06-30 21:30:35 +0100
commit8b83a19367dc3bdfef07634646bbad90f6cba898 (patch)
treecc6b485fbd5c9dd1caca4e763323c506587a145e /sound/soc/codecs/wm8974.c
parentcb11d39ead79e5bc8ca42de86b9df8dec8b88681 (diff)
ASoC: WM8974 cosmetic cleanups
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8974.c')
-rw-r--r--sound/soc/codecs/wm8974.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c
index 8c8fc60d626..6f0455c5318 100644
--- a/sound/soc/codecs/wm8974.c
+++ b/sound/soc/codecs/wm8974.c
@@ -1,7 +1,7 @@
/*
* wm8974.c -- WM8974 ALSA Soc Audio driver
*
- * Copyright 2006 Wolfson Microelectronics PLC.
+ * Copyright 2006-2009 Wolfson Microelectronics PLC.
*
* Author: Liam Girdwood <linux@wolfsonmicro.com>
*
@@ -357,7 +357,7 @@ static void pll_factors(unsigned int target, unsigned int source)
if ((Ndiv < 6) || (Ndiv > 12))
printk(KERN_WARNING
- "WM8974 N value %u outwith recommended range!d\n",
+ "WM8974 N value %u outwith recommended range!\n",
Ndiv);
pll_div.n = Ndiv;
@@ -546,6 +546,7 @@ static int wm8974_pcm_hw_params(struct snd_pcm_substream *substream,
adn |= 0x1 << 1;
break;
case SNDRV_PCM_RATE_44100:
+ case SNDRV_PCM_RATE_48000:
break;
}
@@ -822,7 +823,7 @@ MODULE_DEVICE_TABLE(i2c, wm8974_i2c_id);
static struct i2c_driver wm8974_i2c_driver = {
.driver = {
- .name = "WM8974 I2C Codec",
+ .name = "WM8974",
.owner = THIS_MODULE,
},
.probe = wm8974_i2c_probe,