ASoC: Enable 192kHz sample rate for EP93xx.
authorAlexander Sverdlin <subaparts@yandex.ru>
Mon, 7 Mar 2011 17:30:12 +0000 (20:30 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Mar 2011 13:08:42 +0000 (13:08 +0000)
Enable 192kHz sample rate for EP93xx.

Signed-off-by: Alexander Sverdlin <subaparts@yandex.ru>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/ep93xx/ep93xx-i2s.c
sound/soc/ep93xx/ep93xx-pcm.c

index 207d5893d97f51f0abd7efce66ba7d80b2923836..042f4e93746f4095cf883c649d90941919e5a43e 100644 (file)
@@ -355,13 +355,13 @@ static struct snd_soc_dai_driver ep93xx_i2s_dai = {
        .playback       = {
                .channels_min   = 2,
                .channels_max   = 2,
-               .rates          = SNDRV_PCM_RATE_8000_96000,
+               .rates          = SNDRV_PCM_RATE_8000_192000,
                .formats        = EP93XX_I2S_FORMATS,
        },
        .capture        = {
                 .channels_min  = 2,
                 .channels_max  = 2,
-                .rates         = SNDRV_PCM_RATE_8000_96000,
+                .rates         = SNDRV_PCM_RATE_8000_192000,
                 .formats       = EP93XX_I2S_FORMATS,
        },
        .ops            = &ep93xx_i2s_dai_ops,
index 06670776f6497fe5f5c93b8dcbc82c511c3bbb55..a456e491155f6df55987d4b895cedf25f73f50c6 100644 (file)
@@ -35,9 +35,9 @@ static const struct snd_pcm_hardware ep93xx_pcm_hardware = {
                                   SNDRV_PCM_INFO_INTERLEAVED   |
                                   SNDRV_PCM_INFO_BLOCK_TRANSFER),
                                   
-       .rates                  = SNDRV_PCM_RATE_8000_96000,
+       .rates                  = SNDRV_PCM_RATE_8000_192000,
        .rate_min               = SNDRV_PCM_RATE_8000,
-       .rate_max               = SNDRV_PCM_RATE_96000,
+       .rate_max               = SNDRV_PCM_RATE_192000,
        
        .formats                = (SNDRV_PCM_FMTBIT_S16_LE |
                                   SNDRV_PCM_FMTBIT_S24_LE |