summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorShyam Krishnan M <shyam.moni@stericsson.com>2011-08-09 18:32:44 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:04:57 +0200
commitfa16d2bf2fdce1a37f46f6c331e1e3eb6dc66c3b (patch)
tree1c6967fcfdcdd952a5291046410914de10a6e46b /sound
parent4277bfd4e8c684df65afc48af211d2c4aa806711 (diff)
sound: asoc: ab5500: Fix to set correct DAI format
This fixes the DAI format when the stream doesnot set it properly ST-Ericsson Linux next: NA ST-Ericsson ID: 348589 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10006 Change-Id: I059921538565075b35bd533a88d7448a80823d24 Signed-off-by: Shyam Krishnan M <shyam.moni@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31695 Reviewed-by: Avinash A <avinash.a@stericsson.com> Tested-by: Avinash A <avinash.a@stericsson.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/ab5500.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/ab5500.c b/sound/soc/codecs/ab5500.c
index a474f6f7a26..3482d139c57 100644
--- a/sound/soc/codecs/ab5500.c
+++ b/sound/soc/codecs/ab5500.c
@@ -1258,6 +1258,7 @@ static int ab5500_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt)
case SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS:
val |= 1 << I2Sx_MODE_SHIFT;
+ mask_set_reg(iface, I2Sx_MODE_MASK, val);
break;
case SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM: