diff options
author | Bill Gatliff <bgat@billgatliff.com> | 2010-04-09 13:08:08 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-12 06:33:04 -0400 |
commit | e135443e2133473f44aa439ad333554dad14c21a (patch) | |
tree | 5f0e00b266088752a17f3447dce969c1e88a54e3 /sound/soc | |
parent | 6ca0c22ef8a4e988e2487d25964d55e6c37c5785 (diff) |
ASoC: Use SNDRV_PCM_RATE_8000_96000 macro for WM8731
Signed-off-by: Bill Gatliff <bgat@billgatliff.com>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/wm8731.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 5a2619dbf283..d5e1c5b681e3 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c | |||
@@ -389,11 +389,7 @@ static int wm8731_set_bias_level(struct snd_soc_codec *codec, | |||
389 | return 0; | 389 | return 0; |
390 | } | 390 | } |
391 | 391 | ||
392 | #define WM8731_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\ | 392 | #define WM8731_RATES SNDRV_PCM_RATE_8000_96000 |
393 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\ | ||
394 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |\ | ||
395 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 |\ | ||
396 | SNDRV_PCM_RATE_96000) | ||
397 | 393 | ||
398 | #define WM8731_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ | 394 | #define WM8731_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ |
399 | SNDRV_PCM_FMTBIT_S24_LE) | 395 | SNDRV_PCM_FMTBIT_S24_LE) |