Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd3ac9af authored by Songjun Wu's avatar Songjun Wu Committed by Mark Brown
Browse files

ASoC: atmel-classd: fix audio clock rate



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>
Cc: stable@vger.kernel.org
parent c1ae3cfa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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_12M288_MPY_8  (12228 * 1000 * 8)
#define CLASSD_ACLK_RATE_12M288_MPY_8  (12288 * 1000 * 8)

static struct {
	int rate;