ASoC: twl4030: pandora hack: remove 96kHz
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 14 Apr 2014 00:23:48 +0000 (03:23 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 14 Apr 2014 00:23:48 +0000 (03:23 +0300)
256fs clock becomes 128fs for 96kHz, so we effectively get half speed
playback. Also pcm1773 is only specified for upto 50kHz.

XXX: need to find a proper way to do this in mainline..

sound/soc/codecs/twl4030.c

index 38a5b51..ea099d5 100644 (file)
@@ -2187,7 +2187,7 @@ static struct snd_soc_dai_driver twl4030_dai[] = {
                .stream_name = "HiFi Playback",
                .channels_min = 2,
                .channels_max = 4,
-               .rates = TWL4030_RATES | SNDRV_PCM_RATE_96000,
+               .rates = TWL4030_RATES, // | SNDRV_PCM_RATE_96000,
                .formats = TWL4030_FORMATS,},
        .capture = {
                .stream_name = "Capture",