]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ASoC: atmel-classd: fix audio clock rate
authorSongjun Wu <songjun.wu@microchip.com>
Fri, 24 Feb 2017 07:10:43 +0000 (15:10 +0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 27 Apr 2017 13:03:52 +0000 (10:03 -0300)
BugLink: http://bugs.launchpad.net/bugs/1681862
commit cd3ac9affc43b44f49d7af70d275f0bd426ba643 upstream.

Fix the audio clock rate according to the datasheet.

Reported-by: Dushara Jayasinghe <dushara@successful.com.au>
Signed-off-by: Songjun Wu <songjun.wu@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/soc/atmel/atmel-classd.c

index 8276675730ef1252483b4a5e1d2b649bf71dfe1e..78a98562960724e64ef79b7d620d6b902d31b432 100644 (file)
@@ -343,7 +343,7 @@ static int atmel_classd_codec_dai_digital_mute(struct snd_soc_dai *codec_dai,
 }
 
 #define CLASSD_ACLK_RATE_11M2896_MPY_8 (112896 * 100 * 8)
-#define CLASSD_ACLK_RATE_12M288_MPY_8  (12228 * 1000 * 8)
+#define CLASSD_ACLK_RATE_12M288_MPY_8  (12288 * 1000 * 8)
 
 static struct {
        int rate;