summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorShyam Krishnan M <shyam.moni@stericsson.com>2011-08-09 18:32:44 +0530
committerAvinash A <avinash.a@stericsson.com>2011-09-22 10:04:25 +0200
commit4e800bfab26348e8b9483d86ae710d49f39175da (patch)
treef5643304252075972b99bdb5db056a345020b641 /sound
parent281ba048515130605e47e64e4e0b4a9108175b72 (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: