diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-01-11 04:24:41 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-14 15:42:26 -0500 |
commit | 24710c97960ac343c613786d250a1e0063555faa (patch) | |
tree | 9d56de699bdf3764d1cc737bb27272023b5b2d4a /sound/soc/fsl/fsl_ssi.c | |
parent | 817873f4b155b22a24c48d6a38ee32007e2d856e (diff) |
ASoC: fsl: Don't mix SNDRV_PCM_RATE_CONTINUOUS with specific rates
SNDRV_PCM_RATE_CONTINUOUS means that all rates (possibly limited to a certain
interval) are supported. There is no need to manually set other rate bits.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/fsl_ssi.c')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 35e277379b86..dd5e6a76d29f 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c | |||
@@ -79,8 +79,7 @@ static inline void write_ssi_mask(u32 __iomem *addr, u32 clear, u32 set) | |||
79 | * ALSA that we support all rates and let the codec driver decide what rates | 79 | * ALSA that we support all rates and let the codec driver decide what rates |
80 | * are really supported. | 80 | * are really supported. |
81 | */ | 81 | */ |
82 | #define FSLSSI_I2S_RATES (SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_192000 | \ | 82 | #define FSLSSI_I2S_RATES SNDRV_PCM_RATE_CONTINUOUS |
83 | SNDRV_PCM_RATE_CONTINUOUS) | ||
84 | 83 | ||
85 | /** | 84 | /** |
86 | * FSLSSI_I2S_FORMATS: audio formats supported by the SSI | 85 | * FSLSSI_I2S_FORMATS: audio formats supported by the SSI |