summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8580.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-08 14:54:33 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-08 14:54:33 +0100
commit5a4cfce73b7b48bdbb4e816124e5fcf84bc58e59 (patch)
tree0d84d5096b34bfb794b52dc59271c184e9d3e4ea /sound/soc/codecs/wm8580.c
parentASoC: Fix snd_soc_instantiate_card error path (diff)
parentASoC: Correct WM8962 interrupt mask register read (diff)
downloadlinux-5a4cfce73b7b48bdbb4e816124e5fcf84bc58e59.tar.xz
linux-5a4cfce73b7b48bdbb4e816124e5fcf84bc58e59.zip
Merge branch 'for-2.6.37' into for-2.6.38
Conflicts: sound/soc/soc-core.c Axel's fix on two different branches.
Diffstat (limited to 'sound/soc/codecs/wm8580.c')
-rw-r--r--sound/soc/codecs/wm8580.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c
index cb7765f7687d..45efc9437ee8 100644
--- a/sound/soc/codecs/wm8580.c
+++ b/sound/soc/codecs/wm8580.c
@@ -491,16 +491,16 @@ static int wm8580_paif_hw_params(struct snd_pcm_substream *substream,
paifa |= 0x8;
break;
case SNDRV_PCM_FORMAT_S20_3LE:
- paifa |= 0x10;
+ paifa |= 0x0;
paifb |= WM8580_AIF_LENGTH_20;
break;
case SNDRV_PCM_FORMAT_S24_LE:
- paifa |= 0x10;
+ paifa |= 0x0;
paifb |= WM8580_AIF_LENGTH_24;
break;
case SNDRV_PCM_FORMAT_S32_LE:
- paifa |= 0x10;
- paifb |= WM8580_AIF_LENGTH_24;
+ paifa |= 0x0;
+ paifb |= WM8580_AIF_LENGTH_32;
break;
default:
return -EINVAL;