ASoC: msm: qdsp6v2: Remove 48khz constraint

Remove 48khz constraint for TDM use cases. This
change is needed to support more sampling rates for
TDM use cases.

CRs-fixed: 1073307
Change-Id: Ic42b2f9e7441ffb4e1bfe8211f85aadb72c22ed3
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
This commit is contained in:
Josh Kirsch 2016-09-30 12:18:31 -07:00
parent 46692be6dd
commit 45c40de8cb

View file

@ -5825,11 +5825,6 @@ static int msm_dai_q6_tdm_hw_params(struct snd_pcm_substream *substream,
pr_debug("%s: dev_name: %s\n",
__func__, dev_name(dai->dev));
if (params_rate(params) != 48000) {
dev_err(dai->dev, "%s: invalid param rate %d\n",
__func__, params_rate(params));
return -EINVAL;
}
if ((params_channels(params) == 0) ||
(params_channels(params) > 8)) {
dev_err(dai->dev, "%s: invalid param channels %d\n",