Commit ab48ab61 authored by Songjun Wu's avatar Songjun Wu Committed by Greg Kroah-Hartman

ASoC: atmel-classd: fix audio clock rate

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>
parent ce3dcfdb
......@@ -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