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

Commit 2404d12e authored by Walter Yang's avatar Walter Yang Committed by Banajit Goswami
Browse files

ASoC: add 352800Hz into the pcm known rates



Add 352800Hz into pcm known rates to match with the sound
sample rate macro definitions.

CRs-Fixed: 1082850
Change-Id: Iedd78288f71ddcaa9fcb2f63bd3b73be2c0006dd
Signed-off-by: default avatarWalter Yang <yandongy@codeaurora.org>
parent f8028fe4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2017,7 +2017,7 @@ static int snd_pcm_hw_rule_sample_bits(struct snd_pcm_hw_params *params,


static unsigned int rates[] = { 5512, 8000, 11025, 16000, 22050, 32000, 44100,
static unsigned int rates[] = { 5512, 8000, 11025, 16000, 22050, 32000, 44100,
				48000, 64000, 88200, 96000, 176400, 192000,
				48000, 64000, 88200, 96000, 176400, 192000,
				384000 };
				352800, 384000 };


const struct snd_pcm_hw_constraint_list snd_pcm_known_rates = {
const struct snd_pcm_hw_constraint_list snd_pcm_known_rates = {
	.count = ARRAY_SIZE(rates),
	.count = ARRAY_SIZE(rates),