Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342766
b: refs/heads/master
c: 98614cf
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Abraham authored and Mark Brown committed Oct 15, 2012
1 parent 4d4f7e7 commit bc2f14f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 54f174ab292aa7dec0d7daac6d5654492e40296a
refs/heads/master: 98614cf68905961abcbab71dea8b3d9054a55d36
8 changes: 4 additions & 4 deletions trunk/sound/soc/samsung/i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ static int i2s_set_sysclk(struct snd_soc_dai *dai,
if (i2s->op_clk) {
if ((clk_id && !(mod & MOD_IMS_SYSMUX)) ||
(!clk_id && (mod & MOD_IMS_SYSMUX))) {
clk_disable(i2s->op_clk);
clk_disable_unprepare(i2s->op_clk);
clk_put(i2s->op_clk);
} else {
i2s->rclk_srcrate =
Expand All @@ -434,7 +434,7 @@ static int i2s_set_sysclk(struct snd_soc_dai *dai,

i2s->op_clk = clk_get(&i2s->pdev->dev,
i2s->src_clk[clk_id]);
clk_enable(i2s->op_clk);
clk_prepare_enable(i2s->op_clk);
i2s->rclk_srcrate = clk_get_rate(i2s->op_clk);

/* Over-ride the other's */
Expand Down Expand Up @@ -880,7 +880,7 @@ static int samsung_i2s_dai_probe(struct snd_soc_dai *dai)
iounmap(i2s->addr);
return -ENOENT;
}
clk_enable(i2s->clk);
clk_prepare_enable(i2s->clk);

if (other) {
other->addr = i2s->addr;
Expand Down Expand Up @@ -922,7 +922,7 @@ static int samsung_i2s_dai_remove(struct snd_soc_dai *dai)
if (i2s->quirks & QUIRK_NEED_RSTCLR)
writel(0, i2s->addr + I2SCON);

clk_disable(i2s->clk);
clk_disable_unprepare(i2s->clk);
clk_put(i2s->clk);

iounmap(i2s->addr);
Expand Down

0 comments on commit bc2f14f

Please sign in to comment.