Skip to content

Commit f872826

Browse files
Peter Ujfalusibroonie
authored andcommitted
ASoC: twl6040: Remove Capture restriction for 17.64MHz sysclk
Capture is supported in all PLL configuration. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 1cba77c commit f872826

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

sound/soc/codecs/twl6040.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,13 +1351,6 @@ static int twl6040_hw_params(struct snd_pcm_substream *substream,
13511351
rate);
13521352
return -EINVAL;
13531353
}
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-
}
13611354
priv->sysclk = 17640000;
13621355
break;
13631356
case 8000:

0 commit comments

Comments
 (0)