From: Peter Ujfalusi Date: Thu, 13 Oct 2011 12:05:41 +0000 (+0300) Subject: ASoC: twl6040: Remove Capture restriction for 17.64MHz sysclk X-Git-Tag: MMI-PSA29.97-13-9~16612^2~581 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f872826e940c0372221897981b0a60781c2212e5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ASoC: twl6040: Remove Capture restriction for 17.64MHz sysclk Capture is supported in all PLL configuration. Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- 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, rate); return -EINVAL; } - /* Capture is not supported with 17.64MHz sysclk */ - if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { - dev_err(codec->dev, - "capture mode is not supported at %dHz\n", - rate); - return -EINVAL; - } priv->sysclk = 17640000; break; case 8000: