summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter Yang <yandongy@codeaurora.org>2016-11-04 14:21:01 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-03 23:28:30 -0700
commite69b06911ed76cce87850f120b64c20ef5eadfd8 (patch)
treed2874d44bb4d867983c639fdd0da286f1e4cc9f9
parent758693b4a6d94a0724081578d24f6ba1cc449255 (diff)
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: Walter Yang <yandongy@codeaurora.org>
-rw-r--r--sound/core/pcm_native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
index 3f26597d8d46..1f062aaa5414 100644
--- a/sound/core/pcm_native.c
+++ b/sound/core/pcm_native.c
@@ -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,
48000, 64000, 88200, 96000, 176400, 192000,
- 384000 };
+ 352800, 384000 };
const struct snd_pcm_hw_constraint_list snd_pcm_known_rates = {
.count = ARRAY_SIZE(rates),