diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2014-10-16 15:29:14 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-16 16:48:05 +0200 |
commit | 2ccf3bd4f8b120936cdfc796baf40c5d3dfab68d (patch) | |
tree | 70bf464d7dd5cffea6968c39cc6963be79f8f3ab /sound/soc | |
parent | a5448c88b812390a3622e76d774e10c0da1fb970 (diff) | |
download | linux-2ccf3bd4f8b120936cdfc796baf40c5d3dfab68d.tar.gz linux-2ccf3bd4f8b120936cdfc796baf40c5d3dfab68d.tar.bz2 linux-2ccf3bd4f8b120936cdfc796baf40c5d3dfab68d.zip |
ASoC: Intel: HSW/BDW only support S16 and S24 formats.
Fix driver with correct formats.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/intel/sst-haswell-pcm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/intel/sst-haswell-pcm.c b/sound/soc/intel/sst-haswell-pcm.c index 33fc5c3abf55..4df867cbb92a 100644 --- a/sound/soc/intel/sst-haswell-pcm.c +++ b/sound/soc/intel/sst-haswell-pcm.c @@ -691,9 +691,7 @@ static int hsw_pcm_new(struct snd_soc_pcm_runtime *rtd) } #define HSW_FORMATS \ - (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \ - SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S16_LE |\ - SNDRV_PCM_FMTBIT_S8) + (SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S16_LE) static struct snd_soc_dai_driver hsw_dais[] = { { |