Skip to content

Commit

Permalink
ASoC: WM8974 cosmetic cleanups
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Jun 30, 2009
1 parent cb11d39 commit 8b83a19
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sound/soc/codecs/wm8974.c
Original file line number Diff line number Diff line change
@@ -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>
*
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 8b83a19

Please sign in to comment.