diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-10-13 08:05:41 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-13 12:19:39 -0400 |
commit | f872826e940c0372221897981b0a60781c2212e5 (patch) | |
tree | 36a63163179bf608287a39f5932a4e45d8ef0db9 /sound | |
parent | 1cba77c16309e14565d4006bb4373a4866278663 (diff) |
ASoC: twl6040: Remove Capture restriction for 17.64MHz sysclk
Capture is supported in all PLL configuration.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/twl6040.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 636923051ad3..d078099c3686 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c | |||
@@ -1351,13 +1351,6 @@ static int twl6040_hw_params(struct snd_pcm_substream *substream, | |||
1351 | rate); | 1351 | rate); |
1352 | return -EINVAL; | 1352 | return -EINVAL; |
1353 | } | 1353 | } |
1354 | /* Capture is not supported with 17.64MHz sysclk */ | ||
1355 | if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { | ||
1356 | dev_err(codec->dev, | ||
1357 | "capture mode is not supported at %dHz\n", | ||
1358 | rate); | ||
1359 | return -EINVAL; | ||
1360 | } | ||
1361 | priv->sysclk = 17640000; | 1354 | priv->sysclk = 17640000; |
1362 | break; | 1355 | break; |
1363 | case 8000: | 1356 | case 8000: |