[ALSA] ASoC WM8731 support for 32k @ 12MHz sysclk
authorFrank Mandarino <fmandarino@endrelia.com>
Wed, 31 Jan 2007 09:02:56 +0000 (10:02 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:03:23 +0000 (09:03 +0100)
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>
sound/soc/codecs/wm8731.c

index 9956d654b6f36316ede79ae22098fba003da9c9b..82f440fcf294e1553e2ac596e38e957008ab20a5 100644 (file)
@@ -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},