summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorFrank Mandarino <fmandarino@endrelia.com>2007-01-31 10:02:56 +0100
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:03:23 +0100
commit298a2c753a5ae2f0e230a57e94843d248f0033e2 (patch)
treee49668e57cea67e1c14a9cce715e6fa504639fd4 /sound
parente35115a58856ced315cb8f75df56e9b9a816e70a (diff)
downloadlinux-stable-298a2c753a5ae2f0e230a57e94843d248f0033e2.tar.gz
linux-stable-298a2c753a5ae2f0e230a57e94843d248f0033e2.tar.bz2
linux-stable-298a2c753a5ae2f0e230a57e94843d248f0033e2.zip
[ALSA] ASoC WM8731 support for 32k @ 12MHz sysclk
This patch adds support for 32k audio on the WM8731 when running from a 12MHz system clock. Signed-off-by: Frank Mandarino <fmandarino@endrelia.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8731.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c
index 9956d654b6f3..82f440fcf294 100644
--- a/sound/soc/codecs/wm8731.c
+++ b/sound/soc/codecs/wm8731.c
@@ -435,6 +435,7 @@ static const struct _coeff_div coeff_div[] = {
/* 32k */
{12288000, 32000, 384, 0x6, 0x0, 0x0},
{18432000, 32000, 576, 0x6, 0x1, 0x0},
+ {12000000, 32000, 375, 0x6, 0x0, 0x1},
/* 8k */
{12288000, 8000, 1536, 0x3, 0x0, 0x0},