From: Frank Mandarino Date: Wed, 31 Jan 2007 09:02:56 +0000 (+0100) Subject: [ALSA] ASoC WM8731 support for 32k @ 12MHz sysclk X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=298a2c753a5ae2f0e230a57e94843d248f0033e2;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 9956d654b6f..82f440fcf29 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},