diff options
Diffstat (limited to 'sound/soc/kirkwood/kirkwood-dma.c')
-rw-r--r-- | sound/soc/kirkwood/kirkwood-dma.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c index 4af1936cf0f4..aac22fccdcdc 100644 --- a/sound/soc/kirkwood/kirkwood-dma.c +++ b/sound/soc/kirkwood/kirkwood-dma.c | |||
@@ -21,16 +21,6 @@ | |||
21 | #include <sound/soc.h> | 21 | #include <sound/soc.h> |
22 | #include "kirkwood.h" | 22 | #include "kirkwood.h" |
23 | 23 | ||
24 | #define KIRKWOOD_RATES \ | ||
25 | (SNDRV_PCM_RATE_8000_192000 | \ | ||
26 | SNDRV_PCM_RATE_CONTINUOUS | \ | ||
27 | SNDRV_PCM_RATE_KNOT) | ||
28 | |||
29 | #define KIRKWOOD_FORMATS \ | ||
30 | (SNDRV_PCM_FMTBIT_S16_LE | \ | ||
31 | SNDRV_PCM_FMTBIT_S24_LE | \ | ||
32 | SNDRV_PCM_FMTBIT_S32_LE) | ||
33 | |||
34 | static struct kirkwood_dma_data *kirkwood_priv(struct snd_pcm_substream *subs) | 24 | static struct kirkwood_dma_data *kirkwood_priv(struct snd_pcm_substream *subs) |
35 | { | 25 | { |
36 | struct snd_soc_pcm_runtime *soc_runtime = subs->private_data; | 26 | struct snd_soc_pcm_runtime *soc_runtime = subs->private_data; |
@@ -43,12 +33,6 @@ static struct snd_pcm_hardware kirkwood_dma_snd_hw = { | |||
43 | SNDRV_PCM_INFO_MMAP_VALID | | 33 | SNDRV_PCM_INFO_MMAP_VALID | |
44 | SNDRV_PCM_INFO_BLOCK_TRANSFER | | 34 | SNDRV_PCM_INFO_BLOCK_TRANSFER | |
45 | SNDRV_PCM_INFO_PAUSE), | 35 | SNDRV_PCM_INFO_PAUSE), |
46 | .formats = KIRKWOOD_FORMATS, | ||
47 | .rates = KIRKWOOD_RATES, | ||
48 | .rate_min = 8000, | ||
49 | .rate_max = 384000, | ||
50 | .channels_min = 1, | ||
51 | .channels_max = 8, | ||
52 | .buffer_bytes_max = KIRKWOOD_SND_MAX_BUFFER_BYTES, | 36 | .buffer_bytes_max = KIRKWOOD_SND_MAX_BUFFER_BYTES, |
53 | .period_bytes_min = KIRKWOOD_SND_MIN_PERIOD_BYTES, | 37 | .period_bytes_min = KIRKWOOD_SND_MIN_PERIOD_BYTES, |
54 | .period_bytes_max = KIRKWOOD_SND_MAX_PERIOD_BYTES, | 38 | .period_bytes_max = KIRKWOOD_SND_MAX_PERIOD_BYTES, |