Commit 24710c97 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Mark Brown

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: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 817873f4
...@@ -79,8 +79,7 @@ static inline void write_ssi_mask(u32 __iomem *addr, u32 clear, u32 set) ...@@ -79,8 +79,7 @@ static inline void write_ssi_mask(u32 __iomem *addr, u32 clear, u32 set)
* ALSA that we support all rates and let the codec driver decide what rates * ALSA that we support all rates and let the codec driver decide what rates
* are really supported. * are really supported.
*/ */
#define FSLSSI_I2S_RATES (SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_192000 | \ #define FSLSSI_I2S_RATES SNDRV_PCM_RATE_CONTINUOUS
SNDRV_PCM_RATE_CONTINUOUS)
/** /**
* FSLSSI_I2S_FORMATS: audio formats supported by the SSI * FSLSSI_I2S_FORMATS: audio formats supported by the SSI
......
...@@ -26,8 +26,7 @@ ...@@ -26,8 +26,7 @@
* ALSA that we support all rates and let the codec driver decide what rates * ALSA that we support all rates and let the codec driver decide what rates
* are really supported. * are really supported.
*/ */
#define PSC_I2S_RATES (SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_192000 | \ #define PSC_I2S_RATES SNDRV_PCM_RATE_CONTINUOUS
SNDRV_PCM_RATE_CONTINUOUS)
/** /**
* PSC_I2S_FORMATS: audio formats supported by the PSC I2S mode * PSC_I2S_FORMATS: audio formats supported by the PSC I2S mode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment