Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375226
b: refs/heads/master
c: 81ee683
h: refs/heads/master
v: v3
  • Loading branch information
Marek Belisko authored and Mark Brown committed Apr 30, 2013
1 parent c005450 commit 281500c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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: 37c1b9273fefe90e45c7d01ba4209e42d5e3e058
refs/heads/master: 81ee6833bc6ccd0c64d2f527775a3ded7aa9bfb4
5 changes: 4 additions & 1 deletion trunk/sound/soc/davinci/davinci-mcasp.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,10 @@ static int davinci_mcasp_set_dai_fmt(struct snd_soc_dai *cpu_dai,
mcasp_set_bits(base + DAVINCI_MCASP_ACLKRCTL_REG, ACLKRE);
mcasp_set_bits(base + DAVINCI_MCASP_RXFMCTL_REG, AFSRE);

mcasp_set_bits(base + DAVINCI_MCASP_PDIR_REG, ACLKX | AFSX);
mcasp_set_bits(base + DAVINCI_MCASP_PDIR_REG,
ACLKX | ACLKR);
mcasp_set_bits(base + DAVINCI_MCASP_PDIR_REG,
AFSX | AFSR);
break;
case SND_SOC_DAIFMT_CBM_CFS:
/* codec is clock master and frame slave */
Expand Down
4 changes: 2 additions & 2 deletions trunk/sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,9 +1070,9 @@ int dapm_clock_event(struct snd_soc_dapm_widget *w,

#ifdef CONFIG_HAVE_CLK
if (SND_SOC_DAPM_EVENT_ON(event)) {
return clk_prepare_enable(w->clk);
return clk_enable(w->clk);
} else {
clk_disable_unprepare(w->clk);
clk_disable(w->clk);
return 0;
}
#endif
Expand Down

0 comments on commit 281500c

Please sign in to comment.