aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8974.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-06-30 14:37:02 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-06-30 16:30:35 -0400
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 8c8fc60d6260..6f0455c5318b 100644
--- a/sound/soc/codecs/wm8974.c
+++ b/sound/soc/codecs/wm8974.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * wm8974.c -- WM8974 ALSA Soc Audio driver 2 * wm8974.c -- WM8974 ALSA Soc Audio driver
3 * 3 *
4 * Copyright 2006 Wolfson Microelectronics PLC. 4 * Copyright 2006-2009 Wolfson Microelectronics PLC.
5 * 5 *
6 * Author: Liam Girdwood <linux@wolfsonmicro.com> 6 * Author: Liam Girdwood <linux@wolfsonmicro.com>
7 * 7 *
@@ -357,7 +357,7 @@ static void pll_factors(unsigned int target, unsigned int source)
357 357
358 if ((Ndiv < 6) || (Ndiv > 12)) 358 if ((Ndiv < 6) || (Ndiv > 12))
359 printk(KERN_WARNING 359 printk(KERN_WARNING
360 "WM8974 N value %u outwith recommended range!d\n", 360 "WM8974 N value %u outwith recommended range!\n",
361 Ndiv); 361 Ndiv);
362 362
363 pll_div.n = Ndiv; 363 pll_div.n = Ndiv;
@@ -546,6 +546,7 @@ static int wm8974_pcm_hw_params(struct snd_pcm_substream *substream,
546 adn |= 0x1 << 1; 546 adn |= 0x1 << 1;
547 break; 547 break;
548 case SNDRV_PCM_RATE_44100: 548 case SNDRV_PCM_RATE_44100:
549 case SNDRV_PCM_RATE_48000:
549 break; 550 break;
550 } 551 }
551 552
@@ -822,7 +823,7 @@ MODULE_DEVICE_TABLE(i2c, wm8974_i2c_id);
822 823
823static struct i2c_driver wm8974_i2c_driver = { 824static struct i2c_driver wm8974_i2c_driver = {
824 .driver = { 825 .driver = {
825 .name = "WM8974 I2C Codec", 826 .name = "WM8974",
826 .owner = THIS_MODULE, 827 .owner = THIS_MODULE,
827 }, 828 },
828 .probe = wm8974_i2c_probe, 829 .probe = wm8974_i2c_probe,