From baff7765a8866f183b6a96300d7851b97cc144a6 Mon Sep 17 00:00:00 2001 From: Kenneth Westfield Date: Thu, 30 Jan 2014 14:44:28 -0800 Subject: [PATCH] ASoC: msm: Add sample rates to PCM front-end Add two additional sample rates to the PCM front- end: 88200 KHz and 176400 KHz. CRs-Fixed: 601715 Change-Id: If61fb034a60f41b5c63a00fd764da50db7333cb5 Signed-off-by: Kenneth Westfield --- sound/soc/msm/msm-dai-fe.c | 4 ++-- sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/msm/msm-dai-fe.c b/sound/soc/msm/msm-dai-fe.c index 59fcfb7c82b8..e37143a104bf 100644 --- a/sound/soc/msm/msm-dai-fe.c +++ b/sound/soc/msm/msm-dai-fe.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -25,7 +25,7 @@ static struct snd_soc_dai_ops msm_fe_dai_ops = {}; /* Conventional and unconventional sample rate supported */ static unsigned int supported_sample_rates[] = { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, - 96000, 192000 + 88200, 96000, 176400, 192000 }; static struct snd_pcm_hw_constraint_list constraints_sample_rates = { diff --git a/sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c b/sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c index 94302f2e3027..617c950479b4 100644 --- a/sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c +++ b/sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -99,7 +99,7 @@ static struct snd_pcm_hardware msm_pcm_hardware_playback = { /* Conventional and unconventional sample rate supported */ static unsigned int supported_sample_rates[] = { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, - 96000, 192000 + 88200, 96000, 176400, 192000 }; static uint32_t in_frame_info[CAPTURE_MAX_NUM_PERIODS][2];