Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254795
b: refs/heads/master
c: 713d136
h: refs/heads/master
i:
  254793: 3988caf
  254791: 5b9e518
v: v3
  • Loading branch information
Stephen Warren authored and Mark Brown committed Jul 4, 2011
1 parent d8f1250 commit 9849edb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e999dc50404d401150a5429b6459473a691fd1a0
refs/heads/master: 713d1369789f2a2336c3431b15276c968862bdb7
6 changes: 6 additions & 0 deletions trunk/sound/soc/tegra/tegra_i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,18 @@ static int tegra_i2s_hw_params(struct snd_pcm_substream *substream,
if (i2sclock % (2 * srate))
reg |= TEGRA_I2S_TIMING_NON_SYM_ENABLE;

if (!i2s->clk_refs)
clk_enable(i2s->clk_i2s);

tegra_i2s_write(i2s, TEGRA_I2S_TIMING, reg);

tegra_i2s_write(i2s, TEGRA_I2S_FIFO_SCR,
TEGRA_I2S_FIFO_SCR_FIFO2_ATN_LVL_FOUR_SLOTS |
TEGRA_I2S_FIFO_SCR_FIFO1_ATN_LVL_FOUR_SLOTS);

if (!i2s->clk_refs)
clk_disable(i2s->clk_i2s);

return 0;
}

Expand Down

0 comments on commit 9849edb

Please sign in to comment.