Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182828
b: refs/heads/master
c: d08a68b
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Jan 17, 2010
1 parent 72db078 commit ad0ed68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48dbc41988d07c7a9ba83afd31543d8ecb2beecc
refs/heads/master: d08a68bfca5a6464eb9167be0659bf0676f02555
12 changes: 4 additions & 8 deletions trunk/sound/soc/imx/imx-ssi.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,11 @@ static int imx_ssi_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt)

/* DAI clock master masks */
switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
case SND_SOC_DAIFMT_CBS_CFS:
strcr |= SSI_STCR_TFDIR | SSI_STCR_TXDIR;
break;
case SND_SOC_DAIFMT_CBM_CFS:
strcr |= SSI_STCR_TFDIR;
break;
case SND_SOC_DAIFMT_CBS_CFM:
strcr |= SSI_STCR_TXDIR;
case SND_SOC_DAIFMT_CBM_CFM:
break;
default:
/* Master mode not implemented, needs handling of clocks. */
return -EINVAL;
}

strcr |= SSI_STCR_TFEN0;
Expand Down

0 comments on commit ad0ed68

Please sign in to comment.