]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ASoC: wm0010: Enable 44.1kHz support
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 25 Aug 2012 13:05:35 +0000 (14:05 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 25 Aug 2012 20:23:34 +0000 (13:23 -0700)
With appropriate clocking configuration the WM0010 driver supports 44.1kHz
audio; enable that.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm0010.c

index e1315e0e785668b76c0ed5b9f3f86598b79122c9..f820b5725163c71cf713c8dc7d89c7c377192088 100644 (file)
@@ -722,7 +722,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm0010 = {
        .num_dapm_routes = ARRAY_SIZE(wm0010_dapm_routes),
 };
 
-#define WM0010_RATES (SNDRV_PCM_RATE_48000)
+#define WM0010_RATES (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
 #define WM0010_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE |\
                        SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE |\
                        SNDRV_PCM_FMTBIT_S32_LE)