diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2014-10-16 10:29:14 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-16 10:48:05 -0400 |
commit | 2ccf3bd4f8b120936cdfc796baf40c5d3dfab68d (patch) | |
tree | 70bf464d7dd5cffea6968c39cc6963be79f8f3ab /sound/soc | |
parent | a5448c88b812390a3622e76d774e10c0da1fb970 (diff) |
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) | |||
691 | } | 691 | } |
692 | 692 | ||
693 | #define HSW_FORMATS \ | 693 | #define HSW_FORMATS \ |
694 | (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \ | 694 | (SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S16_LE) |
695 | SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S16_LE |\ | ||
696 | SNDRV_PCM_FMTBIT_S8) | ||
697 | 695 | ||
698 | static struct snd_soc_dai_driver hsw_dais[] = { | 696 | static struct snd_soc_dai_driver hsw_dais[] = { |
699 | { | 697 | { |