Commit 42a89b70 authored by Songjun Wu's avatar Songjun Wu Committed by Thadeu Lima de Souza Cascardo

ASoC: atmel-classd: fix audio clock rate

BugLink: http://bugs.launchpad.net/bugs/1681862

commit cd3ac9af upstream.

Fix the audio clock rate according to the datasheet.
Reported-by: default avatarDushara Jayasinghe <dushara@successful.com.au>
Signed-off-by: default avatarSongjun Wu <songjun.wu@microchip.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent b1fc9e12
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment