Commit 7a042a4e 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 8aabccdc
...@@ -349,7 +349,7 @@ static int atmel_classd_codec_dai_digital_mute(struct snd_soc_dai *codec_dai, ...@@ -349,7 +349,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_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 { static struct {
int rate; 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