aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-25 09:05:35 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-25 16:23:34 -0400
commit6df3198635e2ad961952566a05994bc592abe774 (patch)
tree1303778fdb4c49c08f9eae991e44aba99fa43445 /sound
parentf9372c9c06166dc24a17cf25d325d83a9a06a02d (diff)
ASoC: wm0010: Enable 44.1kHz support
With appropriate clocking configuration the WM0010 driver supports 44.1kHz audio; enable that. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm0010.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index e1315e0e7856..f820b5725163 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -722,7 +722,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm0010 = {
722 .num_dapm_routes = ARRAY_SIZE(wm0010_dapm_routes), 722 .num_dapm_routes = ARRAY_SIZE(wm0010_dapm_routes),
723}; 723};
724 724
725#define WM0010_RATES (SNDRV_PCM_RATE_48000) 725#define WM0010_RATES (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
726#define WM0010_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE |\ 726#define WM0010_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE |\
727 SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE |\ 727 SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE |\
728 SNDRV_PCM_FMTBIT_S32_LE) 728 SNDRV_PCM_FMTBIT_S32_LE)