mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
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>
This commit is contained in:
parent
1cba77c163
commit
f872826e94
1 changed files with 0 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue